2dbd064410
updates: - [github.com/pre-commit/mirrors-autopep8: v1.4.4 → v1.5.7](https://github.com/pre-commit/mirrors-autopep8/compare/v1.4.4...v1.5.7) - [github.com/asottile/reorder_python_imports: v1.6.0 → v2.6.0](https://github.com/asottile/reorder_python_imports/compare/v1.6.0...v2.6.0) - [github.com/Lucas-C/pre-commit-hooks: v1.1.6 → v1.1.10](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.1.6...v1.1.10) - [github.com/asottile/pyupgrade: v1.21.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v1.21.0...v2.29.0) - [github.com/asottile/add-trailing-comma: v1.4.1 → v2.1.0](https://github.com/asottile/add-trailing-comma/compare/v1.4.1...v2.1.0)
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.2.3
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-docstring-first
|
|
- id: check-executables-have-shebangs
|
|
- 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: flake8
|
|
- id: name-tests-test
|
|
- id: requirements-txt-fixer
|
|
- id: trailing-whitespace
|
|
- id: fix-encoding-pragma
|
|
args: ['--remove']
|
|
- repo: https://github.com/pre-commit/mirrors-autopep8
|
|
rev: v1.5.7
|
|
hooks:
|
|
- id: autopep8
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
rev: v2.6.0
|
|
hooks:
|
|
- id: reorder-python-imports
|
|
args: ['--py3-plus']
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.1.10
|
|
hooks:
|
|
- id: remove-tabs
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v2.29.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: ['--py3-plus']
|
|
- repo: https://github.com/asottile/add-trailing-comma
|
|
rev: v2.1.0
|
|
hooks:
|
|
- id: add-trailing-comma
|
|
args: ['--py36-plus']
|