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
|
|
|
|
# W503: line break before binary operator (superseded by W504 line break after binary operator)
|
|
|
|
# N806: Variable in function should be lowercase
|
2022-02-11 15:16:57 +00:00
|
|
|
# E203: Whitespace before ':'
|
|
|
|
# E501: Line too long
|
|
|
|
ignore = D100,D101,D102,D103,D105,W503,N806,E203,E501
|
2021-12-02 09:13:48 +00:00
|
|
|
exclude = wagtail/project_template/*,node_modules,venv,.venv
|
2022-02-11 15:16:57 +00:00
|
|
|
max-line-length = 88
|
2016-06-22 15:51:40 +00:00
|
|
|
|
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]
|
2022-02-11 15:16:57 +00:00
|
|
|
profile = black
|
|
|
|
skip=migrations,project_template,node_modules,.git,__pycache__,LC_MESSAGES,venv,.venv,.tox
|
|
|
|
blocked_extensions=rst,html,js,svg,txt,css,scss,png,snap,ts,tsx
|
2017-05-26 11:44:49 +00:00
|
|
|
known_first_party=wagtail
|
2020-02-18 13:38:38 +00:00
|
|
|
default_section=THIRDPARTY
|
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
|