-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
47 lines (38 loc) · 1013 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
42
43
44
45
46
47
[flake8]
max-line-length = 90
max-complexity = 12
show-source = True
statistics = False
extend-exclude = .venv
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist,todoist_analytics/credentials.py
[isort]
line_length = 90
multi_line_output = 3
include_trailing_comma = true
use_parentheses = true
[tool:pytest]
norecursedirs = *.egg .eggs dist build docs .tox .git __pycache__
testpaths = tests
addopts =
--cov=todoist_analytics
--cov-report=html
--cov-report=xml
--cov-fail-under=80
console_output_style = progress
[coverage:html]
title = Coverage Report
[mypy]
# suppress errors about unsatisfied imports
ignore_missing_imports=True
# be strict
warn_return_any = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
disallow_untyped_defs = True
check_untyped_defs = True
disallow_untyped_calls = True
[vulture]
whitelist = docs/conf.py,hooks/pyproject.py,todoist_analytics/credentials.py,.venv