2018-05-16 06:40:27 +03:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-01-03 22:26:05 +03:00
|
|
|
rev: v4.1.0
|
2015-08-08 01:40:26 +03:00
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-docstring-first
|
2017-08-02 21:33:12 +03:00
|
|
|
- id: check-executables-have-shebangs
|
2015-08-08 01:40:26 +03:00
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-yaml
|
|
|
|
- id: debug-statements
|
|
|
|
- id: detect-private-key
|
|
|
|
- id: double-quote-string-fixer
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: name-tests-test
|
|
|
|
- id: requirements-txt-fixer
|
|
|
|
- id: trailing-whitespace
|
2019-07-15 20:44:20 +03:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-autopep8
|
2022-01-03 22:26:05 +03:00
|
|
|
rev: v1.6.0
|
2019-07-15 20:44:20 +03:00
|
|
|
hooks:
|
|
|
|
- id: autopep8
|
2021-10-11 22:56:33 +03:00
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
rev: 4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2018-05-16 06:40:27 +03:00
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
2022-01-31 23:16:45 +03:00
|
|
|
rev: v2.7.1
|
2015-08-08 01:40:26 +03:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
2019-07-15 20:44:20 +03:00
|
|
|
args: ['--py3-plus']
|
2018-05-16 06:40:27 +03:00
|
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
2022-01-31 23:16:45 +03:00
|
|
|
rev: v1.1.11
|
2015-08-08 01:40:26 +03:00
|
|
|
hooks:
|
|
|
|
- id: remove-tabs
|
2019-02-21 00:00:02 +03:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-01-03 22:26:05 +03:00
|
|
|
rev: v2.31.0
|
2019-02-21 00:00:02 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2019-07-15 20:44:20 +03:00
|
|
|
args: ['--py3-plus']
|
|
|
|
- repo: https://github.com/asottile/add-trailing-comma
|
2021-11-22 22:25:30 +03:00
|
|
|
rev: v2.2.1
|
2019-07-15 20:44:20 +03:00
|
|
|
hooks:
|
|
|
|
- id: add-trailing-comma
|
|
|
|
args: ['--py36-plus']
|