joplin-mdbooks-website/.pre-commit-config.yaml
Stavros Korokithakis 4caaff6c90 Migrate to mdBook
2021-11-20 02:13:37 +00:00

29 lines
597 B
YAML

repos:
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.3.6
hooks:
- id: reorder-python-imports
- repo: https://gitlab.com/pycqa/flake8
rev: '3.8.4'
hooks:
- id: flake8
args: ["--max-line-length=1000"]
language_version: python3
- repo: https://github.com/pycqa/pydocstyle
rev: 5.1.1
hooks:
- id: pydocstyle
args:
- --ignore=D100,D107,D203,D212
- repo: local
hooks:
- id: no-todos
name: Forbid TODOs
entry: "TODO"
language: pygrep
types: [python]