-
Notifications
You must be signed in to change notification settings - Fork 33
/
mypy.ini
42 lines (35 loc) · 939 Bytes
/
mypy.ini
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
# Global configuration
[mypy]
python_version = 3.8
warn_redundant_casts = True
[mypy-aiven.client.*]
ignore_errors = False
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_unused_ignores = True
warn_no_return = True
warn_unreachable = True
strict_equality = True
ignore_missing_imports = True
[mypy-tests.*]
ignore_errors = False
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_unused_ignores = True
warn_no_return = True
warn_unreachable = True
strict_equality = True
ignore_missing_imports = True
# Disable errors on the code which is not annotated yet
[mypy-aiven.client.cliarg]
warn_unused_ignores = False
disable_error_code = attr-defined
[mypy-aiven.client.cli]
warn_unused_ignores = False
disable_error_code = attr-defined
[mypy-tests.test_cliarg]
disable_error_code = attr-defined