1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
exclude: "^conda.recipe"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1
hooks:
- id: prettier
exclude_types: ["python", "jupyter", "shell", "gitignore"]
- repo: https://github.com/omnilib/ufmt
rev: v2.5.1
hooks:
- id: ufmt
additional_dependencies:
- black == 24.3.0
- usort == 1.0.8.post1
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8
args: ["--config", "setup.cfg"]
|