Add flake8 linter
This commit is contained in:
parent
5a76d58894
commit
f3b355d76b
6 changed files with 990 additions and 22 deletions
|
@ -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/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue