language-data/.pre-commit-config.yaml

63 lines
1.6 KiB
YAML
Raw Normal View History

2020-04-22 13:15:58 +02:00
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
2020-04-22 13:15:58 +02:00
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: requirements-txt-fixer
- id: check-merge-conflict
- id: debug-statements
2020-04-22 13:15:58 +02:00
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
2020-04-22 13:15:58 +02:00
hooks:
- id: yamllint
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/psf/black
rev: 21.12b0
hooks:
- id: black
2021-04-05 16:55:32 +00:00
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- flake8-builtins
- flake8-comprehensions
- flake8-django
- flake8-docstrings
- flake8-eradicate
- flake8-executable
- flake8-logging-format
- flake8-mutable
- flake8-polyfill
- flake8-print
- flake8-return
- flake8-self
- pep8-naming
- repo: https://github.com/asottile/blacken-docs
rev: v1.12.0
hooks:
- id: blacken-docs
2020-04-22 13:15:58 +02:00
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
2020-11-20 09:13:29 +01:00
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier