padio/.pre-commit-config.yaml

25 lines
670 B
YAML
Raw Permalink Normal View History

2021-02-06 00:43:31 +00:00
---
repos:
- repo: https://github.com/psf/black
2022-04-05 03:20:38 +00:00
rev: 22.3.0
2021-02-06 00:43:31 +00:00
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-04-05 03:20:38 +00:00
rev: v4.1.0
2021-02-06 00:43:31 +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-04-05 03:20:38 +00:00
rev: v3.0.1
2021-02-06 00:43:31 +00:00
hooks:
- id: reorder-python-imports
- repo: https://github.com/pre-commit/mirrors-mypy
2022-04-05 03:20:38 +00:00
rev: v0.942
2021-02-06 00:43:31 +00:00
hooks:
- id: mypy