2015-06-03 11:08:21 +02:00
|
|
|
[bdist_wheel]
|
2017-11-29 12:05:51 +01:00
|
|
|
python-tag = py3
|
2016-02-26 12:58:01 +01:00
|
|
|
|
2016-06-22 17:51:40 +02:00
|
|
|
[flake8]
|
2019-10-18 13:59:55 +02: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 16:16:57 +01:00
|
|
|
# E203: Whitespace before ':'
|
|
|
|
# E501: Line too long
|
|
|
|
ignore = D100,D101,D102,D103,D105,W503,N806,E203,E501
|
2021-12-02 10:13:48 +01:00
|
|
|
exclude = wagtail/project_template/*,node_modules,venv,.venv
|
2022-02-11 16:16:57 +01:00
|
|
|
max-line-length = 88
|
2016-06-22 17:51:40 +02:00
|
|
|
|
2020-10-21 13:38:52 +02:00
|
|
|
[doc8]
|
|
|
|
ignore = D001
|
|
|
|
ignore-path = _build,docs/_build
|
|
|
|
|
2016-02-26 12:58:01 +01:00
|
|
|
[isort]
|
2022-02-11 16:16:57 +01: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 13:44:49 +02:00
|
|
|
known_first_party=wagtail
|
2020-02-18 14:38:38 +01:00
|
|
|
default_section=THIRDPARTY
|
2016-06-17 16:06:21 +02:00
|
|
|
|
2018-04-08 06:57:43 +02:00
|
|
|
[tool:pytest]
|
2016-06-17 16:06:21 +02:00
|
|
|
django_find_project = false
|
2017-05-26 13:40:10 +02:00
|
|
|
python_files=test_*.py
|
2016-06-17 16:06:21 +02:00
|
|
|
testpaths=wagtail
|