Skip to content

Commit

Permalink
ci: move "pyupgrade" before "isort" in ".pre-commit-config.yaml"
Browse files Browse the repository at this point in the history
PR Closed: #1269
  • Loading branch information
linjiX committed Dec 18, 2022
1 parent 1580b59 commit c9ad76a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ repos:
- id: check-case-conflict
- id: detect-private-key

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

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.9.3
hooks:
Expand All @@ -27,12 +33,6 @@ repos:
files: "^examples"
args: ["--profile=black", "-w 100", "--thirdparty=tensorbay"]

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

- repo: https://github.com/ambv/black
rev: 22.3.0
hooks:
Expand Down

0 comments on commit c9ad76a

Please sign in to comment.