Skip to content

Commit 564b13b

Browse files
author
Hugo Osvaldo Barrera
committed
Set up pyupgrade
1 parent 5a5f94c commit 564b13b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ repos:
2121
additional_dependencies:
2222
- flake8-comprehensions
2323
- flake8-bugbear
24+
- repo: https://github.com/asottile/pyupgrade
25+
rev: v2.23.3
26+
hooks:
27+
- id: pyupgrade
28+
args: [--py36-plus]
2429
- repo: https://github.com/pre-commit/mirrors-mypy
2530
rev: 'v0.910' # Use the sha / tag you want to point at
2631
hooks:

0 commit comments

Comments
 (0)