forked from haiwen/seafdav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
83 lines (70 loc) · 1.45 KB
/
setup.cfg
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[bdist_wheel]
universal = 1
[metadata]
license_file = LICENSE
[check-manifest]
ignore =
docs/sphinx-build
docs/sphinx-build/*
[isort]
force_alphabetical_sort=True
force_single_line=False
force_to_top=True
from_first=True
lines_after_imports=2
not_skip=__init__.py
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
line_length=88
[aliases]
# TODO: this breaks 'setup.py test' which is ought to run the Tox-command:
#test = pytest
[tool:pytest]
addopts =
testpaths =
.
tests
[coverage:run]
branch = True
omit =
tests/*
wsgidav/prop_man/couch_property_manager.py
wsgidav/prop_man/mongo_property_manager.py
wsgidav/samples/*
wsgidav/server/run_reloading_server.py
wsgidav/server/server_sample.py
[coverage:report]
precision = 2
show_missing = True
sort = Name
[coverage:html]
directory = _build/coverage
[flake8]
max-line-length = 99
#max-line-length = 88
# max-complexity = 12
# Ignore some errors that may be created by Black:
# E203 whitespace before ':'
# E501 line too long
# W503 line break before binary operator
# W605 invalid escape sequence '\/' (we want to allow ascii-art)
ignore =
E203,
E501,
W503,
W605
# Instead of strict E501, enable B950 for relaxed line length checking (and other bugbear warnings)
select =
B,
C,
E,
F,
Q,
W,
B9
# Options for the flake8-quotes extension:
inline-quotes = "
multiline-quotes = """
docstring-quotes = """