File tree Expand file tree Collapse file tree 3 files changed +13
-49
lines changed Expand file tree Collapse file tree 3 files changed +13
-49
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ build-backend="setuptools.build_meta"
1111[tool .black ]
1212line-length = 120
1313safe = true
14- py36 = true
14+ target-version = [ " py36 " , " py37 " , " py38 " ]
1515
1616[tool .isort ]
1717line_length = 120
Original file line number Diff line number Diff line change @@ -40,9 +40,17 @@ exclude =
4040 docs
4141ignore =
4242 E203,
43- W503
4443# whitespace before ':'
44+ W503,
4545# line break before binary operator
46+ D401,
47+ # First line should be in imperative mood; try rephrasing
48+ D202,
49+ # No blank lines allowed after function docstring
50+ D203,
51+ # 1 blank line required before class docstring
52+ D213
53+ # Multi-line docstring summary should start at the second line
4654show-pep8 = True
4755show-source = True
4856count = True
@@ -51,16 +59,13 @@ max-line-length = 120
5159[pydocstyle]
5260ignore =
5361 D401,
54- D202,
55- D203,
56- D213
5762# First line should be in imperative mood; try rephrasing
63+ D202,
5864# No blank lines allowed after function docstring
65+ D203,
5966# 1 blank line required before class docstring
67+ D213
6068# Multi-line docstring summary should start at the second line
6169
6270[aliases]
6371test =pytest
64-
65- [tool:pytest]
66- addopts = -vvv -s -p no:django -p no:ipdb
Original file line number Diff line number Diff line change @@ -75,47 +75,6 @@ deps =
7575 -r{toxinidir}/CI_REQUIREMENTS.txt
7676commands = pylint exec_helpers
7777
78- [flake8]
79- exclude =
80- .venv,
81- .git,
82- .tox,
83- dist,
84- doc,
85- *lib/python*,
86- *egg,
87- build,
88- __init__.py,
89- docs
90- ignore =
91- E203,
92- # whitespace before ':'
93- W503,
94- # line break before binary operator
95- D401,
96- # First line should be in imperative mood; try rephrasing
97- D202,
98- # No blank lines allowed after function docstring
99- D203,
100- # 1 blank line required before class docstring
101- D213
102- # Multi-line docstring summary should start at the second line
103- show-pep8 = True
104- show-source = True
105- count = True
106- max-line-length = 120
107-
108- [pydocstyle]
109- ignore =
110- D401,
111- # First line should be in imperative mood; try rephrasing
112- D202,
113- # No blank lines allowed after function docstring
114- D203,
115- # 1 blank line required before class docstring
116- D213
117- # Multi-line docstring summary should start at the second line
118-
11978[testenv:docs]
12079deps =
12180 sphinx
You can’t perform that action at this time.
0 commit comments