2020-03-08 17:10:32 -04:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-06-13 14:44:41 -04:00
|
|
|
rev: v4.3.0
|
2020-03-08 17:10:32 -04: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 05:13:56 -04:00
|
|
|
- repo: https://github.com/psf/black
|
2022-10-10 15:35:08 -04:00
|
|
|
rev: 22.10.0
|
2020-03-08 17:10:32 -04:00
|
|
|
hooks:
|
2021-07-13 05:13:56 -04:00
|
|
|
- id: black
|
|
|
|
language_version: python3
|
2020-03-08 17:10:32 -04:00
|
|
|
- repo: https://github.com/PyCQA/pydocstyle
|
2021-07-13 05:15:04 -04:00
|
|
|
rev: 6.1.1
|
2020-03-08 17:10:32 -04:00
|
|
|
hooks:
|
|
|
|
- id: pydocstyle
|
2021-08-27 12:12:11 -04:00
|
|
|
args:
|
2021-08-27 17:47:07 -04:00
|
|
|
- --ignore=D200,D203,D212
|
2021-07-13 05:15:04 -04:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2022-08-08 15:00:42 -04:00
|
|
|
rev: 5.0.4
|
2021-07-13 05:15:04 -04:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2022-03-03 18:13:57 -05:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-11-14 14:25:31 -05:00
|
|
|
rev: v3.2.2
|
2022-03-03 18:13:57 -05:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args:
|
|
|
|
- --py38-plus
|