exclude: \.min\.(js|css)(\.map)?$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-ast
- id: check-json
- id: check-toml
- id: check-xml
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
- id: check-merge-conflict
- id: debug-statements
- id: detect-private-key
- id: pretty-format-json
args:
- --autofix
- --no-sort-keys
- id: trailing-whitespace
- --markdown-linebreak-ext=md
- repo: https://github.com/timothycrosley/isort
rev: 5.10.1
- id: isort
- repo: https://github.com/psf/black
rev: 21.12b0
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v2.29.1
- id: pyupgrade
- --py310-plus
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
- id: flake8
additional_dependencies:
- flake8-noqa
- flake8-bugbear
- flake8-builtins
- flake8-comprehensions
- flake8-eradicate