2024-06-04 22:20:13 +00:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
2024-06-04 22:28:47 +00:00
|
|
|
rev: 24.4.2
|
2024-06-04 22:20:13 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-06-04 22:28:47 +00:00
|
|
|
rev: v4.6.0
|
2024-06-04 22:20:13 +00:00
|
|
|
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)
|
2024-06-04 22:28:47 +00:00
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.13.2
|
2024-06-04 22:20:13 +00:00
|
|
|
hooks:
|
2024-06-04 22:28:47 +00:00
|
|
|
- id: isort
|
2024-07-06 21:21:30 +00:00
|
|
|
args: ["--profile", "black", "--filter-files"]
|
2024-06-04 22:20:13 +00:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2024-07-06 21:21:30 +00:00
|
|
|
rev: v1.10.1
|
2024-06-04 22:20:13 +00:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2024-06-04 22:28:47 +00:00
|
|
|
exclude: docs/
|
|
|
|
additional_dependencies:
|
|
|
|
- types-requests
|
2024-07-06 22:01:27 +00:00
|
|
|
- types-PyYAML
|