dumb-init/.pre-commit-config.yaml

44 lines
1.2 KiB
YAML
Raw Normal View History

2018-05-16 06:40:27 +03:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.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
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.7.0
hooks:
- id: autopep8
2021-10-11 22:56:33 +03:00
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
2021-10-11 22:56:33 +03:00
hooks:
- id: flake8
2018-05-16 06:40:27 +03:00
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.8.5
2015-08-08 01:40:26 +03:00
hooks:
- id: reorder-python-imports
args: ['--py3-plus']
2018-05-16 06:40:27 +03:00
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
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
rev: v3.1.0
2019-02-21 00:00:02 +03:00
hooks:
- id: pyupgrade
args: ['--py3-plus']
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.3.0
hooks:
- id: add-trailing-comma
args: ['--py36-plus']