2018-04-09 17:44:30 +00:00
|
|
|
repos:
|
2022-04-05 03:23:15 +00:00
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 22.3.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
2018-04-09 17:44:30 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v1.2.3
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: debug-statements
|
|
|
|
language_version: python3
|
|
|
|
- id: check-yaml
|
2019-06-03 17:56:42 +00:00
|
|
|
args:
|
|
|
|
- --allow-multiple-documents
|
2018-04-09 17:44:30 +00:00
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: name-tests-test
|
|
|
|
exclude: tests/(common.py|util.py|(helpers|integration/factories)/(.+).py)
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
2019-07-31 04:17:00 +00:00
|
|
|
rev: v1.0.1
|
2018-04-09 17:44:30 +00:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
|
|
|
args:
|
|
|
|
- --py3-plus
|