forked from Aiven-Open/karapace
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mypy.ini
90 lines (68 loc) · 1.98 KB
/
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
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
88
89
90
[mypy]
mypy_path = $MYPY_CONFIG_FILE_DIR/stubs
python_version = 3.9
packages = karapace
show_error_codes = True
pretty = True
warn_redundant_casts = True
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
[mypy-karapace.schema_registry_apis]
ignore_errors = True
[mypy-karapace.compatibility.jsonschema.checks]
disallow_untyped_defs = False
disallow_incomplete_defs = False
warn_unused_ignores = False
[mypy-karapace.protobuf.proto_file_element]
ignore_errors = True
[mypy-karapace.protobuf.compare_type_storage]
ignore_errors = True
[mypy-karapace.protobuf.encoding_variants]
ignore_errors = True
[mypy-karapace.protobuf.schema]
ignore_errors = True
[mypy-karapace.protobuf.protobuf_to_dict]
ignore_errors = True
[mypy-karapace.protobuf.option_reader]
ignore_errors = True
[mypy-karapace.protobuf.option_element]
ignore_errors = True
[mypy-karapace.protobuf.syntax_reader]
ignore_errors = True
[mypy-karapace.protobuf.proto_type]
ignore_errors = True
[mypy-karapace.protobuf.proto_parser]
ignore_errors = True
[mypy-karapace.config]
ignore_errors = True
[mypy-karapace.utils]
ignore_errors = True
[mypy-karapace.rapu]
ignore_errors = True
[mypy-karapace.serialization]
ignore_errors = True
[mypy-karapace.kafka_rest_apis.consumer_manager]
ignore_errors = True
[mypy-karapace.kafka_rest_apis]
ignore_errors = True
# Third-party libraries with no stubs available. Before adding libraries here,
# first consider:
# - Look for already existing stubs for the library, and add those as typing
# dependencies.
# - Write your own stubs. You don't need to write stubs for the whole library,
# only the parts that Karapace is interacting with.
[mypy-aiokafka.*]
ignore_missing_imports = True
[mypy-kafka.*]
ignore_missing_imports = True
[mypy-networkx.*]
ignore_missing_imports = True
[mypy-systemd.*]
ignore_missing_imports = True