mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-24 19:32:53 +03:00
Set up configs for flake8, pep8, black and doc strings formatter
This commit is contained in:
parent
76098141e9
commit
eb2d166dbe
2
pyproject.toml
Normal file
2
pyproject.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[tool.black]
|
||||||
|
line-length = 80
|
15
setup.cfg
15
setup.cfg
@ -1,8 +1,15 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 120
|
ignore = E252,E501
|
||||||
ignore = E252, W605
|
|
||||||
exclude = env,.tox,.git,config/settings,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
exclude = env,.tox,.git,config/settings,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
||||||
|
|
||||||
[pep8]
|
[pycodestyle]
|
||||||
max-line-length = 120
|
ignore = E501
|
||||||
exclude=env,.tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user