Skip to content

Commit

Permalink
Add pyupgrade plugin to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aspedrosa committed Aug 4, 2020
1 parent 2ff9436 commit 0e3ede6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ repos:
- id: black
language_version: python3

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

- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
Expand Down

0 comments on commit 0e3ede6

Please sign in to comment.