You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
35 lines
1.0 KiB
repos:
|
|
- repo: https://github.com/pre-commit/mirrors-isort
|
|
rev: v5.7.0 # https://github.com/pre-commit/mirrors-isort/tags
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 20.8b1 # https://github.com/psf/black/tags
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.9.0 # https://gitlab.com/pycqa/flake8/-/tags
|
|
hooks:
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.812 # https://github.com/pre-commit/mirrors-mypy/tags
|
|
hooks:
|
|
- id: mypy
|
|
exclude: 'docs'
|
|
|
|
- repo: https://github.com/asottile/add-trailing-comma
|
|
rev: v2.1.0 # https://github.com/asottile/add-trailing-comma/tags
|
|
hooks:
|
|
- id: add-trailing-comma
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.4.0 # https://github.com/pre-commit/pre-commit-hooks/tags
|
|
hooks:
|
|
- id: check-json
|
|
- id: check-xml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: requirements-txt-fixer
|