reorder configuration to put formatters first

This commit is contained in:
Anthony Sottile 2022-04-06 15:59:30 -04:00
parent 1eb078ac98
commit 77851c82f1

View file

@ -12,6 +12,11 @@ repos:
hooks:
- id: reorder-python-imports
args: [--application-directories, '.:src', --py36-plus]
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
@ -21,11 +26,6 @@ repos:
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
hooks: