2021-03-07 19:29:02 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2023-03-27 21:01:07 +02:00
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 23.1.0
|
2021-03-07 19:29:02 +01:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
args:
|
|
|
|
- --safe
|
|
|
|
- --quiet
|
2023-03-27 21:01:07 +02:00
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
rev: 6.0.0
|
2021-03-07 19:29:02 +01:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
additional_dependencies:
|
|
|
|
- flake8-docstrings==1.5.0
|
|
|
|
- pydocstyle==5.1.1
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v3.4.0
|
|
|
|
hooks:
|
|
|
|
- id: no-commit-to-branch
|
|
|
|
args:
|
|
|
|
- --branch=current
|
|
|
|
- --branch=next
|
|
|
|
- --branch=beta
|