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
|
|
|
|
# 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 12:25:10 +02:00
|
|
|
ignore = D100,D101,D102,D103,D105,E501,W503,N806
|
2020-10-02 17:56:26 +02:00
|
|
|
exclude = wagtail/project_template/*,node_modules,venv
|
2016-06-22 17:51:40 +02:00
|
|
|
max-line-length = 120
|
|
|
|
|
2016-02-26 12:58:01 +01:00
|
|
|
[isort]
|
|
|
|
line_length=100
|
|
|
|
multi_line_output=4
|
2020-10-19 21:10:28 +02: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 13:44:49 +02:00
|
|
|
known_first_party=wagtail
|
2020-02-18 14:38:38 +01:00
|
|
|
default_section=THIRDPARTY
|
2020-10-16 16:55:15 +02:00
|
|
|
lines_between_types=1
|
|
|
|
lines_after_imports=2
|
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
|