|
|
@ -3,7 +3,7 @@ default_language_version:
|
|
|
|
python: python3
|
|
|
|
python: python3
|
|
|
|
repos:
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
|
|
rev: v2.3.5
|
|
|
|
rev: v2.6.0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
|
|
|
- id: reorder-python-imports
|
|
|
|
exclude: >
|
|
|
|
exclude: >
|
|
|
@ -13,19 +13,19 @@ repos:
|
|
|
|
)$
|
|
|
|
)$
|
|
|
|
args: ["--py37-plus"]
|
|
|
|
args: ["--py37-plus"]
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 20.8b1
|
|
|
|
rev: 21.12b0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- id: black
|
|
|
|
- repo: https://gitlab.com/PyCQA/flake8
|
|
|
|
- repo: https://gitlab.com/PyCQA/flake8
|
|
|
|
rev: 3.8.3
|
|
|
|
rev: 3.9.2
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v3.3.0
|
|
|
|
rev: v4.1.0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: requirements-txt-fixer
|
|
|
|
- id: requirements-txt-fixer
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
|
|
rev: v7.12.0
|
|
|
|
rev: v8.6.0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|
- id: eslint
|
|
|
|
- id: eslint
|
|
|
|
args: ['--fix']
|
|
|
|
args: ['--fix']
|
|
|
|