forked from microsoft/opentelemetry-distro-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
33 lines (26 loc) · 780 Bytes
/
Copy pathmypy.ini
File metadata and controls
33 lines (26 loc) · 780 Bytes
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
[mypy]
python_version = 3.10
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
namespace_packages = true
explicit_package_bases = true
mypy_path = src
[mypy-microsoft.opentelemetry._azure_monitor.*]
disallow_untyped_defs = false
ignore_missing_imports = true
disable_error_code = attr-defined
[mypy-tests.*]
disallow_untyped_defs = false
disable_error_code = union-attr, arg-type, str-bytes-safe, attr-defined, no-any-return, var-annotated
[mypy-samples.*]
disallow_untyped_defs = false
disable_error_code = attr-defined, no-any-return
[mypy-django.*]
ignore_missing_imports = true
[mypy-azure.core.*]
ignore_missing_imports = true
[mypy-opentelemetry.instrumentation.*]
ignore_missing_imports = true
[mypy-wrapt]
ignore_missing_imports = true