pre-commit: do black first
# pre-commit install
repos:
+- repo: https://github.com/ambv/black
+ rev: stable
+ hooks:
+ - id: black
+ language_version: python3.6
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
@@ -17,11 +22,6 @@ repos:
args:
- --max-line-length=100
- --per-file-ignores=files/packit.wsgi:F401,E402
-- repo: https://github.com/ambv/black
- rev: stable
- hooks:
- - id: black
- language_version: python3.6
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.670
hooks:
