Move pyupgrade above autoflake to reduce runs of pre-commit required

This commit is contained in:
Timmy Welch 2023-12-16 17:28:41 -08:00
parent 0de95777b4
commit f3b235ae14

View File

@ -13,16 +13,16 @@ repos:
rev: v2.4.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
hooks:
- id: autoflake
args: [-i, --remove-all-unused-imports, --ignore-init-module-imports]
- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
hooks:
- id: autoflake
args: [-i, --remove-all-unused-imports, --ignore-init-module-imports]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks: