👷 Add flake8 to precommit

This commit is contained in:
SavagePastaMan
2022-09-30 23:59:37 -04:00
parent 58a548f8a0
commit 2272527045
+7
View File
@@ -22,3 +22,10 @@ repos:
additional_dependencies:
- "prettier-plugin-svelte@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/