2019-04-09 16:57:29 +03:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/seed-isort-config
|
2020-01-10 23:42:47 +03:00
|
|
|
rev: v1.9.4
|
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-10-29 19:56:34 +03:00
|
|
|
rev: 3.7.9
|
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-10-29 19:56:34 +03:00
|
|
|
rev: v2.4.0
|
2019-05-14 18:22:34 +03:00
|
|
|
hooks:
|
2019-12-08 14:59:45 +03:00
|
|
|
- id: check-ast
|
|
|
|
- id: check-docstring-first
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-symlinks
|
|
|
|
- id: debug-statements
|
2019-05-14 18:22:34 +03:00
|
|
|
- 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-11-14 20:50:11 +03:00
|
|
|
rev: v0.0.3
|
2019-06-13 19:41:04 +03:00
|
|
|
hooks:
|
|
|
|
- id: taskcluster_yml
|
2019-12-08 15:01:17 +03:00
|
|
|
- repo: https://github.com/asottile/yesqa
|
|
|
|
rev: v0.0.11
|
|
|
|
hooks:
|
|
|
|
- id: yesqa
|
2019-12-08 15:24:00 +03:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2020-01-10 23:42:47 +03:00
|
|
|
rev: v0.761
|
2019-12-08 15:24:00 +03:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2019-06-08 22:24:22 +03:00
|
|
|
- repo: meta
|
|
|
|
hooks:
|
|
|
|
- id: check-useless-excludes
|
2019-06-13 14:15:53 +03:00
|
|
|
default_language_version:
|
|
|
|
python: python3.7
|