добавил файлики flake8 и black
This commit is contained in:
parent
85a0332bff
commit
a0509b3351
24
.flake8
Normal file
24
.flake8
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[flake8]
|
||||||
|
max-line-length = 80
|
||||||
|
import-order-style = google
|
||||||
|
application-import-names = timetable, tickets, home, films
|
||||||
|
exclude =
|
||||||
|
.git,
|
||||||
|
__pycache__,
|
||||||
|
.venv,
|
||||||
|
venv,
|
||||||
|
*/migrations/,
|
||||||
|
*/.venv/,
|
||||||
|
*/venv/,
|
||||||
|
.prod,
|
||||||
|
.dev,
|
||||||
|
.test,
|
||||||
|
tvenv
|
||||||
|
plugins =
|
||||||
|
flake8-commas
|
||||||
|
flake8-import-order
|
||||||
|
flake8-return
|
||||||
|
flake8-quotes
|
||||||
|
flake8-clean-block
|
||||||
|
flake8-expression-complexity
|
||||||
|
flake8-bugbear
|
||||||
10
pyproject.toml
Normal file
10
pyproject.toml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[tool.black]
|
||||||
|
line-length = 79
|
||||||
|
exclude = '''
|
||||||
|
venv/
|
||||||
|
.git/
|
||||||
|
migrations/
|
||||||
|
.dev/
|
||||||
|
.prod/
|
||||||
|
.test/
|
||||||
|
'''
|
||||||
Loading…
x
Reference in New Issue
Block a user