-
Notifications
You must be signed in to change notification settings - Fork 53
/
setup.cfg
44 lines (40 loc) · 1.11 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
[flake8]
ignore =
# E203 whitespace before ':', but E203 is not PEP 8 compliant
E203
# W503 line break before binary operator, but W503 is not PEP 8 compliant
W503
# W504 line break after binary operator, but W504 is not yet compatible with positional-only parameters
W504
max-line-length = 120
exclude =
.git
ftest
tools/skiplist.py
inline-quotes = double
[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
line_length = 88
[tool:pytest]
junit_family = legacy
addopts =
--cov-report=
--cov-report=html
--cov-report=xml
--cov=nxdrive
--showlocals
--strict-markers
--failed-first
-r fE
--numprocesses=auto
# Print the N slowest tests
--durations=20
# Print a full stacktrace of all threads after 20 seconds
# --faulthandler-timeout=195
# Same format as defined in nxdrive/logging_config.py
# (important to be able to use tools/scripts/slow_thread_detection.py)
log_format = %%(asctime)s %%(process)d %%(thread)d %%(levelname)-8s %%(name)-18s %%(message)s
log_date_format = %%Y-%%m-%%d %%H:%%M:%%S