-
Notifications
You must be signed in to change notification settings - Fork 416
/
mypy.ini
37 lines (30 loc) · 1.08 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
[mypy]
files = ddtrace,
ddtrace/profiling/_build.pyx,
docs
exclude = ddtrace/appsec/_iast/_taint_tracking/cmake-build-debug/|ddtrace/appsec/_iast/_taint_tracking/_vendor/|ddtrace/internal/datadog/profiling/build
# mypy thinks .pyx files are scripts and errors out if it finds multiple scripts
scripts_are_modules = true
show_error_codes = true
warn_unused_ignores = true
warn_unused_configs = true
no_implicit_optional = true
ignore_missing_imports = true
namespace_packages = true
plugins = envier.mypy
[mypy-ddtrace.contrib.*]
ignore_errors = true
[mypy-ddtrace.vendor.*]
ignore_errors = true
[mypy-ddtrace.profiling.exporter.pprof_3_pb2]
ignore_errors = true
[mypy-ddtrace.profiling.exporter.pprof_312_pb2]
ignore_errors = true
[mypy-ddtrace.profiling.exporter.pprof_319_pb2]
ignore_errors = true
[mypy-ddtrace.profiling.exporter.pprof_421_pb2]
ignore_errors = true
[mypy-ddtrace.internal.datadog.profiling.ddup]
# ddup.py is a conditional wrapper, providing a default interface when
# _ddup native extension cannot be build; mypy thinks it's redefining classes
ignore_errors = true