Skip to content

Commit

Permalink
Add pyupgrade to .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani committed Aug 3, 2022
1 parent 426a542 commit 9ee8883
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
language_version: python3.8

- repo: https://github.com/pycqa/flake8
rev: 5.0.2
rev: 5.0.3
hooks:
- id: flake8
args:
Expand Down Expand Up @@ -45,3 +45,9 @@ repos:
- id: yamllint
args:
- "--strict"

- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
hooks:
- id: pyupgrade
args: [--py37-plus]

0 comments on commit 9ee8883

Please sign in to comment.