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
|
|
|
|
# D200: One-line docstring should fit on one line with quotes
|
|
|
|
# D202: No blank lines allowed after function docstring
|
|
|
|
# D204: 1 blank line required after docstring
|
|
|
|
# D205: 1 blank line required between summary line and description
|
|
|
|
# D209: Multi-line docstring closing quotes should be on a separate line
|
|
|
|
# D400: First line should end with a period
|
|
|
|
# D401: First line should be in imperative mood
|
|
|
|
# E303: Too many blank lines
|
|
|
|
# E501: Line too long
|
|
|
|
# W503: line break before binary operator (superseded by W504 line break after binary operator)
|
|
|
|
# N805: First argument of a method should be named 'self'
|
|
|
|
# N806: Variable in function should be lowercase
|
|
|
|
ignore = D100,D101,D102,D103,D105,D200,D202,D204,D205,D209,D400,D401,E303,E501,W503,N805,N806
|
2019-09-06 13:30:07 +02:00
|
|
|
exclude = wagtail/project_template/*
|
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
|
2017-05-26 13:40:10 +02:00
|
|
|
skip=migrations,project_template
|
2017-05-26 13:44:49 +02:00
|
|
|
known_first_party=wagtail
|
2017-05-26 14:20:06 +02:00
|
|
|
known_third_party=willow,modelcluster,taggit,django,unidecode,bs4,pytz,PIL
|
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
|