Set up configs for flake8, pep8, black and doc strings formatter

This commit is contained in:
Swen Kooij 2019-10-19 12:39:06 +03:00
parent 76098141e9
commit eb2d166dbe
2 changed files with 13 additions and 4 deletions

2
pyproject.toml Normal file
View File

@ -0,0 +1,2 @@
[tool.black]
line-length = 80

View File

@ -1,8 +1,15 @@
[flake8]
max-line-length = 120
ignore = E252, W605
ignore = E252,E501
exclude = env,.tox,.git,config/settings,*/migrations/*,*/static/CACHE/*,docs,node_modules
[pep8]
max-line-length = 120
[pycodestyle]
ignore = E501
exclude=env,.tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
[isort]
line_length=80
multi_line_output=3
lines_between_types=1
include_trailing_comma=True
not_skip=__init__.py
known_standard_library=dataclasses