|
repos:
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 3.8.3
|
|
hooks:
|
|
- id: flake8
|
|
args: ["--config=setup.cfg", "--ignore=W504, W503"]
|
|
|
|
|
|
- repo: https://github.com/asottile/seed-isort-config
|
|
rev: v2.2.0
|
|
hooks:
|
|
- id: seed-isort-config
|
|
|
|
|
|
- repo: https://github.com/timothycrosley/isort
|
|
rev: 5.2.2
|
|
hooks:
|
|
- id: isort
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-yapf
|
|
rev: v0.30.0
|
|
hooks:
|
|
- id: yapf
|
|
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.1.0
|
|
hooks:
|
|
- id: codespell
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: check-yaml
|
|
- id: check-merge-conflict
|
|
- id: double-quote-string-fixer
|
|
- id: end-of-file-fixer
|
|
- id: requirements-txt-fixer
|
|
- id: fix-encoding-pragma
|
|
args: ["--remove"]
|
|
- id: mixed-line-ending
|
|
args: ["--fix=lf"]
|
|
|