joplin-mdbooks-website/.pre-commit-config.yaml

29 lines
598 B
YAML
Raw Normal View History

2020-11-20 14:33:25 -05:00
repos:
- repo: https://github.com/ambv/black
2022-11-19 12:38:27 -05:00
rev: 22.10.0
2020-11-20 14:33:25 -05:00
hooks:
- id: black
- repo: https://github.com/asottile/reorder_python_imports
2022-11-19 12:38:27 -05:00
rev: v3.9.0
2020-11-20 14:33:25 -05:00
hooks:
- id: reorder-python-imports
2022-11-19 12:38:27 -05:00
- repo: https://github.com/PyCQA/flake8
rev: '5.0.4'
2020-11-20 14:33:25 -05:00
hooks:
- id: flake8
2020-11-29 22:21:48 -05:00
args: ["--max-line-length=1000"]
2020-11-20 14:33:25 -05:00
language_version: python3
2021-01-07 16:17:37 -05:00
- repo: https://github.com/pycqa/pydocstyle
2022-04-04 18:51:54 -04:00
rev: 6.1.1
2021-01-07 16:17:37 -05:00
hooks:
- id: pydocstyle
args:
- --ignore=D100,D107,D203,D212
2020-11-20 14:33:25 -05:00
- repo: local
hooks:
2021-11-19 21:13:37 -05:00
- id: no-todos
name: Forbid TODOs
entry: "TODO"
language: pygrep
types: [python]