-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
87 lines (73 loc) · 1.65 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
84
85
86
87
[tool:pytest]
cache_dir = /tmp/pytest_cache
addopts =
--tb=short
--durations=10
--log-level=INFO
--junit-xml=.reports/test-report.xml
--code-highlight=no
--strict-config
--cov=rich_tables
--cov-report=xml:.reports/coverage.xml
--cov-report=html:.reports/html
--cov-branch
--cov-context=test
testpaths =
tests
[coverage:run]
data_file = .reports/coverage/data
branch = true
relative_files = true
[coverage:report]
precision = 2
skip_empty = true
show_missing = true
exclude_lines =
pragma: no cover
if TYPE_CHECKING
if typing.TYPE_CHECKING
raise AssertionError
raise NotImplementedError
[coverage:html]
show_contexts = true
[flake8]
ignore = E203 E402 W503
max-line-length = 88
tee = true
max-complexity = 6
[mypy]
files = rich_tables
strict = true
warn_unreachable = true
warn_unused_ignores = true
warn_unused_configs = true
warn_redundant_casts = true
show_error_codes = true
no_error_summary = false
allow_untyped_decorators = true
check_untyped_defs = true
[mypy-rgbxy]
ignore_missing_imports = true
[mypy-sqlparse]
ignore_missing_imports = true
[MASTER]
persistent = no
[pylint.MESSAGES]
disable = missing-function-docstring,
invalid-name,
import-outside-toplevel,
line-too-long,
missing-class-docstring,
protected-access,
redefined-outer-name,
too-many-public-methods,
too-few-public-methods,
too-many-arguments,
too-many-instance-attributes,
unused-import
[pylint.REPORTS]
output-format = parseable
[pylint.SIMILARITIES]
ignore-imports = yes
[tool:isort]
profile = black