Add flake8 linter

This commit is contained in:
Edgar P. Burkhart 2023-04-20 17:24:01 +02:00
parent 5a76d58894
commit f3b355d76b
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
6 changed files with 990 additions and 22 deletions

View file

@ -8,8 +8,14 @@ repos:
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: "6.0.0"
hooks:
- id: flake8
args: ["--max-line-length=88", "--extend-ignore=E203"]
exclude: "migrations/"
- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.23.1
rev: v1.23.3
hooks:
- id: djlint-django
args: ["--reformat"]
@ -18,4 +24,3 @@ repos:
hooks:
- id: prettier
types_or: ["css", "javascript"]
exclude: "fontawesome/"