forked from iterative/dvc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
41 lines (36 loc) · 914 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
[flake8]
ignore=
E203, # Whitespace before ':'
E266, # Too many leading '#' for block comment
W503, # Line break occurred before a binary operator
P1, # unindexed parameters in the str.format, see:
# https://pypi.org/project/flake8-string-format/
max_line_length=79
max-complexity = 15
select=B,C,E,F,W,T4,B902,T,P
show_source=true
count=true
[isort]
profile=black
known_first_party=dvc,tests
line_length=79
[tool:pytest]
log_level = debug
addopts = -ra
markers =
needs_internet: Might need network access for the tests
[mypy]
# Error output
show_column_numbers = True
show_error_codes = True
show_error_context = True
show_traceback = True
pretty = True
# See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports.
ignore_missing_imports = True
check_untyped_defs = False
# Warnings
warn_no_return=True
warn_redundant_casts=True
warn_unreachable = True
files = dvc