2020-03-08 22:10:32 +01:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-11-28 20:10:31 +00:00
|
|
|
rev: v4.4.0
|
2020-03-08 22:10:32 +01:00
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-ast
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-symlinks
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: debug-statements
|
|
|
|
- id: detect-private-key
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: mixed-line-ending
|
|
|
|
- id: trailing-whitespace
|
2021-07-13 11:13:56 +02:00
|
|
|
- repo: https://github.com/psf/black
|
2022-10-10 19:35:08 +00:00
|
|
|
rev: 22.10.0
|
2020-03-08 22:10:32 +01:00
|
|
|
hooks:
|
2021-07-13 11:13:56 +02:00
|
|
|
- id: black
|
|
|
|
language_version: python3
|
2020-03-08 22:10:32 +01:00
|
|
|
- repo: https://github.com/PyCQA/pydocstyle
|
2021-07-13 11:15:04 +02:00
|
|
|
rev: 6.1.1
|
2020-03-08 22:10:32 +01:00
|
|
|
hooks:
|
|
|
|
- id: pydocstyle
|
2021-08-27 18:12:11 +02:00
|
|
|
args:
|
2021-08-27 23:47:07 +02:00
|
|
|
- --ignore=D200,D203,D212
|
2021-07-13 11:15:04 +02:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2022-11-28 20:10:31 +00:00
|
|
|
rev: 6.0.0
|
2021-07-13 11:15:04 +02:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2022-03-04 00:13:57 +01:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-11-14 19:25:31 +00:00
|
|
|
rev: v3.2.2
|
2022-03-04 00:13:57 +01:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args:
|
|
|
|
- --py38-plus
|