16df812771
updates: - [github.com/pre-commit/mirrors-autopep8: v1.6.0 → v1.7.0](https://github.com/pre-commit/mirrors-autopep8/compare/v1.6.0...v1.7.0) - [github.com/pycqa/flake8: 4.0.1 → 5.0.4](https://github.com/pycqa/flake8/compare/4.0.1...5.0.4) - [github.com/asottile/reorder_python_imports: v3.8.2 → v3.8.5](https://github.com/asottile/reorder_python_imports/compare/v3.8.2...v3.8.5) - [github.com/Lucas-C/pre-commit-hooks: v1.3.0 → v1.3.1](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.3.0...v1.3.1) - [github.com/asottile/pyupgrade: v2.37.2 → v3.1.0](https://github.com/asottile/pyupgrade/compare/v2.37.2...v3.1.0) - [github.com/asottile/add-trailing-comma: v2.2.3 → v2.3.0](https://github.com/asottile/add-trailing-comma/compare/v2.2.3...v2.3.0)
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
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: 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
|
|
- repo: https://github.com/pycqa/flake8
|
|
rev: 5.0.4
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
rev: v3.8.5
|
|
hooks:
|
|
- id: reorder-python-imports
|
|
args: ['--py3-plus']
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
|
rev: v1.3.1
|
|
hooks:
|
|
- id: remove-tabs
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.1.0
|
|
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']
|