-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (50 loc) · 1.01 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[flake8]
docstring-convention = all
doctests = True
exclude =
__pycache__,
.bzr,
.git,
.hg,
.svn,
.tox,
.venv,
.vscode,
*.pyc,
bin,
build,
CVS,
data,
dev,
dist,
docs,
notebooks,
reports,
sketches,
tests,
tmp,
typings,
ignore =
D211, ; ignore "No blank lines allowed before class docstring" AND prefer D203 "1 blank line required before class docstring"
D213, ; ignore "Multi-line docstring summary should start at the second line"
D402, ; ignore "First line should not be the function's signature"
D415, ; ignore "First line should end with a period, question mark, or exclamation point" AND prefer D400 "First line should end with a period"
F721, ; ignore "syntax error in doctest"
W503, ; ignore "line break before binary operator" according to black formatting
inline-quotes = double
docstring-quotes = double
multiline-quotes = double
jobs = 1
max-complexity = 15
max-doc-length = 88
max-line-length = 88
rst-directives =
index,
seealso,
rst-roles =
class,
const,
func,
meth,
mod,
ref,