matrix-webhook/.pre-commit-config.yaml

37 lines
891 B
YAML
Raw Normal View History

2020-03-08 17:10:32 -04:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
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
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
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
rev: v3.0.0
2022-03-03 18:13:57 -05:00
hooks:
- id: pyupgrade
args:
- --py38-plus