mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-13 00:14:52 +03:00
add compatibility options for black and flake8
This commit is contained in:
parent
37c04a6666
commit
0dbc40e99a
1
.flake8
1
.flake8
|
@ -1,3 +1,4 @@
|
|||
[flake8]
|
||||
exclude = docs
|
||||
max-line-length = 119
|
||||
extend-ignore = E203
|
||||
|
|
|
@ -50,6 +50,7 @@ repos:
|
|||
rev: 6.1.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
args: [ '--config=setup.cfg' ]
|
||||
|
||||
- repo: https://github.com/Riverside-Healthcare/djLint
|
||||
rev: v1.32.1
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
[flake8]
|
||||
max-line-length = 119
|
||||
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv,.venv
|
||||
extend-ignore = E203
|
||||
|
||||
[pycodestyle]
|
||||
max-line-length = 119
|
||||
|
|
Loading…
Reference in New Issue
Block a user