2019-04-09 16:57:29 +03:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/seed-isort-config
|
2019-09-13 11:56:38 +03:00
|
|
|
rev: v1.9.2
|
2019-04-09 16:57:29 +03:00
|
|
|
hooks:
|
|
|
|
- id: seed-isort-config
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-isort
|
2019-07-17 13:26:24 +03:00
|
|
|
rev: v4.3.21
|
2019-04-09 16:57:29 +03:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
- repo: https://github.com/ambv/black
|
|
|
|
rev: stable
|
|
|
|
hooks:
|
|
|
|
- id: black
|
2019-04-09 19:02:36 +03:00
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
2019-07-17 13:26:24 +03:00
|
|
|
rev: 3.7.8
|
2019-04-09 19:02:36 +03:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
additional_dependencies: ['flake8-coding==1.3.1', 'flake8-copyright==0.2.2', 'flake8-debugger==3.1.0', 'flake8-mypy==17.8.0']
|
2019-05-14 18:22:34 +03:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2019-09-13 11:56:38 +03:00
|
|
|
rev: v2.3.0
|
2019-05-14 18:22:34 +03:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: check-yaml
|
|
|
|
- id: mixed-line-ending
|
|
|
|
- id: name-tests-test
|
|
|
|
args: ['--django']
|
2019-05-14 21:32:09 +03:00
|
|
|
- id: check-json
|
|
|
|
exclude: ^tests/fixtures/
|
2019-09-11 13:41:06 +03:00
|
|
|
- id: requirements-txt-fixer
|
2019-05-16 18:24:18 +03:00
|
|
|
- repo: https://github.com/codespell-project/codespell
|
2019-09-13 11:56:38 +03:00
|
|
|
rev: v1.16.0
|
2019-05-16 18:24:18 +03:00
|
|
|
hooks:
|
|
|
|
- id: codespell
|
|
|
|
exclude_types: [json]
|
2019-06-13 19:41:04 +03:00
|
|
|
- repo: https://github.com/marco-c/taskcluster_yml_validator
|
2019-07-17 13:26:24 +03:00
|
|
|
rev: v0.0.2
|
2019-06-13 19:41:04 +03:00
|
|
|
hooks:
|
|
|
|
- id: taskcluster_yml
|
2019-06-08 22:24:22 +03:00
|
|
|
- repo: meta
|
|
|
|
hooks:
|
|
|
|
- id: check-hooks-apply
|
|
|
|
- id: check-useless-excludes
|
2019-06-13 14:15:53 +03:00
|
|
|
default_language_version:
|
|
|
|
python: python3.7
|