2020-11-20 14:33:25 -05:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/ambv/black
|
|
|
|
rev: 20.8b1
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
2021-01-07 16:17:37 -05:00
|
|
|
rev: v2.3.6
|
2020-11-20 14:33:25 -05:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
|
|
rev: '3.8.4'
|
|
|
|
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
|
|
|
|
rev: 5.1.1
|
|
|
|
hooks:
|
|
|
|
- id: pydocstyle
|
|
|
|
args:
|
|
|
|
- --ignore=D100,D107,D203,D212
|
2020-11-20 14:33:25 -05:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: migrations-check
|
|
|
|
language: system
|
|
|
|
name: Export the notes.
|
|
|
|
entry: bash -c "./joplinexport.py"
|
|
|
|
pass_filenames: false
|