joplin-mdbooks-website/.pre-commit-config.yaml
Stavros Korokithakis 9304152129
Update
2020-11-30 05:21:48 +02:00

24 lines
525 B
YAML

repos:
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
args: ["-l 90"]
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.3.5
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: local
hooks:
- id: migrations-check
language: system
name: Export the notes.
entry: bash -c "./joplinexport.py"
pass_filenames: false