2022-01-05 23:20:28 +00:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
2022-01-06 04:25:58 +00:00
|
|
|
rev: 21.12b0
|
2022-01-05 23:20:28 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-01-06 04:25:58 +00:00
|
|
|
rev: v4.1.0
|
2022-01-05 23:20:28 +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)
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
2022-01-06 04:25:58 +00:00
|
|
|
rev: v2.6.0
|
2022-01-05 23:20:28 +00:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2022-01-06 04:25:58 +00:00
|
|
|
rev: v0.930
|
2022-01-05 23:20:28 +00:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2022-01-06 04:25:58 +00:00
|
|
|
exclude: docs/
|
2022-01-06 21:49:07 +00:00
|
|
|
additional_dependencies:
|
|
|
|
- "types-requests"
|
|
|
|
- "types-toml"
|