add compatibility options for black and flake8

This commit is contained in:
성민우 2023-08-27 00:49:01 +09:00
parent 37c04a6666
commit 0dbc40e99a
3 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
[flake8] [flake8]
exclude = docs exclude = docs
max-line-length = 119 max-line-length = 119
extend-ignore = E203

View File

@ -50,6 +50,7 @@ repos:
rev: 6.1.0 rev: 6.1.0
hooks: hooks:
- id: flake8 - id: flake8
args: [ '--config=setup.cfg' ]
- repo: https://github.com/Riverside-Healthcare/djLint - repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.32.1 rev: v1.32.1

View File

@ -4,6 +4,7 @@
[flake8] [flake8]
max-line-length = 119 max-line-length = 119
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv,.venv exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv,.venv
extend-ignore = E203
[pycodestyle] [pycodestyle]
max-line-length = 119 max-line-length = 119