-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
77 lines (60 loc) · 1.61 KB
/
setup.cfg
File metadata and controls
77 lines (60 loc) · 1.61 KB
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
[tool:pytest]
filterwarnings =
ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated:DeprecationWarning
ignore:'with \(yield from lock\)' is deprecated:DeprecationWarning
[isort]
known_standard_library = dataclasses
not_skip = __init__.py
multi_line_output = 5
skip = main.py
[flake8]
max-line-length = 120
ignore =
W503 # line break before binary operator
per-file-ignores =
**/__init__.py:F401
[coverage:run]
branch = True
[mypy]
check_untyped_defs = True
disallow_any_generics = True
disallow_incomplete_defs = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
no_implicit_optional = True
show_traceback = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
# False due to missing typings in library
# Returntype of ddp_asyncio.subscription is better than Any
disallow_any_unimported = False
# False due to bug: https://github.com/python/mypy/issues/5957
warn_unused_configs = False
[mypy-ejson]
ignore_missing_imports = True
[mypy-pytz.tzinfo]
ignore_missing_imports = True
[mypy-tzlocal]
ignore_missing_imports = True
[mypy-ddp_asyncio.*]
ignore_missing_imports = True
[mypy-rocketchat_API.*]
ignore_missing_imports = True
[mypy-dmsclient]
ignore_missing_imports = True
[mypy-petname]
ignore_missing_imports = True
[mypy-bot_config]
ignore_missing_imports = True
[mypy-setuptools]
ignore_missing_imports = True
[mypy-pytest]
ignore_missing_imports = True
[mypy-asynctest]
ignore_missing_imports = True
[mypy-raven]
ignore_missing_imports = True
[mypy-aioify]
ignore_missing_imports = True