2022-03-15 23:01:56 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v2.3.0
|
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
exclude: "mkdocs.yml"
|
|
|
|
- id: check-json
|
2022-03-16 16:37:56 +00:00
|
|
|
exclude: (.vscode|.devcontainer)
|
2022-03-15 23:01:56 +00:00
|
|
|
- id: check-toml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
2022-09-25 23:00:45 +00:00
|
|
|
exclude: ^tests/data/
|
2022-10-17 22:37:06 +00:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v3.1.0
|
2022-03-15 23:01:56 +00:00
|
|
|
hooks:
|
2022-10-17 22:37:06 +00:00
|
|
|
- id: pyupgrade
|
2022-03-15 23:01:56 +00:00
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
|
|
|
- repo: https://github.com/psf/black
|
2022-05-01 20:45:50 +00:00
|
|
|
rev: 22.3.0
|
2022-03-15 23:01:56 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
rev: "4.0.1"
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
additional_dependencies:
|
|
|
|
- "flake8-print==4.0.0"
|