forked from OpenSlides/openslides-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
82 lines (61 loc) · 1.49 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
[isort]
include_trailing_comma = true
multi_line_output = 3
force_grid_wrap = 0
use_parentheses = True
line_length = 88
[flake8]
extend-ignore = E203,E501
[mypy]
disallow_untyped_defs = true
exclude = tests/system/migrations
namespace_packages = true
[mypy-datastore.*]
disallow_untyped_defs = false
check_untyped_defs = true
[tool:pytest]
testpaths = tests/
# ignore warnings from smtp-server while testing emails
filterwarnings = ignore:Requiring AUTH while not requiring TLS can lead to security vulnerabilities!:UserWarning
[coverage:run]
omit =
openslides_backend/__main__.py
[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplementedError
@abstractmethod
^\s*...$
fail_under = 96
omit =
tests/*
migrations/*
[coverage:html]
directory = openslides_backend/htmlcov
[mypy-fastjsonschema]
ignore_missing_imports = true
[mypy-fastjsonschema.exceptions]
ignore_missing_imports = true
[mypy-roman]
ignore_missing_imports = true
[mypy-gunicorn.*]
ignore_missing_imports = true
[mypy-werkzeug.wrappers.json]
ignore_missing_imports = true
[mypy-simplejson.errors]
ignore_missing_imports = true
[mypy-dependency_injector]
ignore_missing_imports = true
[mypy-pypdf.*]
ignore_missing_imports = true
[mypy-pytest]
ignore_missing_imports = true
[mypy-authlib.*]
ignore_missing_imports = true
[mypy-aiosmtpd]
ignore_missing_imports = true
# needed if datastore is used locally
[mypy-redis]
ignore_missing_imports = true
[mypy-psycopg2.*]
ignore_missing_imports = true