.pre-commit-config.yaml
exclude: .*?/migrations/.*?
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0 # Use the ref you want to point at
hooks:
- id: flake8
additional_dependencies: [flake8-tidy-imports, flake8-mutable]
args: [--count, --show-source]
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-yaml
- id: double-quote-string-fixer
- repo: https://github.com/asottile/pyupgrade
rev: v1.25.1
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.4.4
hooks:
- id: autopep8
- repo: https://github.com/Lucas-C/pre-commit-hooks-bandit
sha: v1.0.4
hooks:
- id: python-bandit-vulnerability-check
- repo: git@github.com:macisamuele/language-formatters-pre-commit-hooks
rev: v1.3.2
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/johnfraney/flake8-markdown
rev: v0.2.0
hooks:
- id: flake8-markdown