👷 Add flake8 to precommit
This commit is contained in:
@@ -22,3 +22,10 @@ repos:
|
|||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- "prettier-plugin-svelte@latest"
|
- "prettier-plugin-svelte@latest"
|
||||||
- "prettier@latest"
|
- "prettier@latest"
|
||||||
|
- repo: https://github.com/pycqa/flake8
|
||||||
|
rev: 5.0.4
|
||||||
|
hooks:
|
||||||
|
- id: flake8
|
||||||
|
# flake8 is passed in all tracked python files
|
||||||
|
# so --exclude in .flake8 does not work
|
||||||
|
exclude: ^migrations/versions/
|
||||||
|
|||||||
Reference in New Issue
Block a user