2015-06-03 09:08:21 +00:00
|
|
|
[bdist_wheel]
|
2017-11-29 11:05:51 +00:00
|
|
|
python-tag = py3
|
2016-02-26 11:58:01 +00:00
|
|
|
|
2016-06-22 15:51:40 +00:00
|
|
|
[flake8]
|
2019-10-18 11:59:55 +00:00
|
|
|
# D100: Missing docstring in public module
|
|
|
|
# D101: Missing docstring in public class
|
|
|
|
# D102: Missing docstring in public method
|
|
|
|
# D103: Missing docstring in public function
|
|
|
|
# D105: Missing docstring in magic method
|
|
|
|
# E501: Line too long
|
|
|
|
# W503: line break before binary operator (superseded by W504 line break after binary operator)
|
|
|
|
# N806: Variable in function should be lowercase
|
2020-08-11 10:25:10 +00:00
|
|
|
ignore = D100,D101,D102,D103,D105,E501,W503,N806
|
2020-10-02 15:56:26 +00:00
|
|
|
exclude = wagtail/project_template/*,node_modules,venv
|
2016-06-22 15:51:40 +00:00
|
|
|
max-line-length = 120
|
|
|
|
|
2020-10-21 11:38:52 +00:00
|
|
|
[doc8]
|
|
|
|
ignore = D001
|
|
|
|
ignore-path = _build,docs/_build
|
|
|
|
|
2016-02-26 11:58:01 +00:00
|
|
|
[isort]
|
|
|
|
line_length=100
|
|
|
|
multi_line_output=4
|
2020-10-19 19:10:28 +00:00
|
|
|
skip=migrations,project_template,node_modules,.git,__pycache__,LC_MESSAGES
|
|
|
|
blocked_extensions=rst,html,js,svg,txt,css,scss,png,snap,tsx
|
2017-05-26 11:44:49 +00:00
|
|
|
known_first_party=wagtail
|
2020-02-18 13:38:38 +00:00
|
|
|
default_section=THIRDPARTY
|
2020-10-16 14:55:15 +00:00
|
|
|
lines_between_types=1
|
|
|
|
lines_after_imports=2
|
2016-06-17 14:06:21 +00:00
|
|
|
|
2018-04-08 04:57:43 +00:00
|
|
|
[tool:pytest]
|
2016-06-17 14:06:21 +00:00
|
|
|
django_find_project = false
|
2017-05-26 11:40:10 +00:00
|
|
|
python_files=test_*.py
|
2016-06-17 14:06:21 +00:00
|
|
|
testpaths=wagtail
|