-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
41 lines (37 loc) · 925 Bytes
/
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
[isort]
line_length = 80
profile = black
filter_files = True
[flake8]
max_line_length = 80
show_source = True
format = pylint
ignore =
F401 # Module imported but unused
W504 # Line break occurred after a binary operator
F841 # Local variable name is assigned to but never used
E501 # Line too long
E203 # whitespace before ':' (conflict with black on list slicing)
W503 # line break before binary operator (conflict with black)
exclude =
.git
__pycache__
data/*
tests/*
notebooks/*
logs/*
[tool:pytest]
testpaths = tests/
log_cli = True
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format = %Y-%m-%d %H:%M:%S
markers =
slow: mark the test as slow
addopts =
--durations=0
--strict-markers
--doctest-modules
filterwarnings =
ignore::DeprecationWarning
ignore::UserWarning