30 lines
798 B
YAML
30 lines
798 B
YAML
|
---
|
||
|
repos:
|
||
|
- repo: https://github.com/psf/black
|
||
|
rev: 24.10.0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v5.0.0
|
||
|
hooks:
|
||
|
- id: check-added-large-files
|
||
|
- id: check-merge-conflict
|
||
|
- id: debug-statements
|
||
|
- id: end-of-file-fixer
|
||
|
- id: trailing-whitespace
|
||
|
- id: name-tests-test
|
||
|
exclude: tests/(common.py|util.py|(helpers|integration/factories)/(.+).py)
|
||
|
- repo: https://github.com/pycqa/isort
|
||
|
rev: 5.13.2
|
||
|
hooks:
|
||
|
- id: isort
|
||
|
args: ["--profile", "black", "--filter-files"]
|
||
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||
|
rev: v1.12.0
|
||
|
hooks:
|
||
|
- id: mypy
|
||
|
exclude: docs/
|
||
|
additional_dependencies:
|
||
|
- types-requests
|
||
|
- types-PyYAML
|