|
|
|
@ -11,7 +11,7 @@ repos: |
|
|
|
|
language: fail |
|
|
|
|
files: "\\.rej$" |
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier |
|
|
|
|
rev: v2.1.2 |
|
|
|
|
rev: v2.7.1 |
|
|
|
|
hooks: |
|
|
|
|
- id: prettier |
|
|
|
|
additional_dependencies: |
|
|
|
@ -31,21 +31,21 @@ repos: |
|
|
|
|
- --remove-duplicate-keys |
|
|
|
|
- --remove-unused-variables |
|
|
|
|
- repo: https://github.com/asottile/pyupgrade |
|
|
|
|
rev: v2.7.2 |
|
|
|
|
rev: v2.34.0 |
|
|
|
|
hooks: |
|
|
|
|
- id: pyupgrade |
|
|
|
|
- repo: https://github.com/psf/black |
|
|
|
|
rev: 20.8b1 |
|
|
|
|
rev: 22.3.0 |
|
|
|
|
hooks: |
|
|
|
|
- id: black |
|
|
|
|
- repo: https://github.com/timothycrosley/isort |
|
|
|
|
rev: 5.5.1 |
|
|
|
|
rev: 5.10.1 |
|
|
|
|
hooks: |
|
|
|
|
- id: isort |
|
|
|
|
args: |
|
|
|
|
- --settings=. |
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8 |
|
|
|
|
rev: 3.8.3 |
|
|
|
|
rev: 3.9.2 |
|
|
|
|
hooks: |
|
|
|
|
- &flake8 |
|
|
|
|
id: flake8 |
|
|
|
@ -60,7 +60,7 @@ repos: |
|
|
|
|
- --extend-ignore=F401 |
|
|
|
|
files: /__init__\.py$ |
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks |
|
|
|
|
rev: v3.2.0 |
|
|
|
|
rev: v4.3.0 |
|
|
|
|
hooks: |
|
|
|
|
- id: check-case-conflict |
|
|
|
|
- id: check-executables-have-shebangs |
|
|
|
|