Skip to content

Commit c49fdde

Browse files
committed
Synced mypy-gpl.ini with pyproject.toml
CMK-27106 Change-Id: I25ee9a03ebb063e2436e246a33d4df3406352456
1 parent 8160046 commit c49fdde

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

mypy-gpl.ini

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# NOTE: Keep this is sync with the tool.mypy sections of pyproject.toml!
22
[mypy]
33
explicit_package_bases = true
4-
mypy_path = $MYPY_CONFIG_FILE_DIR:$MYPY_CONFIG_FILE_DIR/omd/packages/omd:$MYPY_CONFIG_FILE_DIR/tests/typeshed:$MYPY_CONFIG_FILE_DIR/packages/cmk-trace
4+
mypy_path = $MYPY_CONFIG_FILE_DIR/omd/packages/omd:$MYPY_CONFIG_FILE_DIR/tests/typeshed
55
plugins = pydantic.mypy
6-
python_version = 3.12
6+
python_version = 3.13
77
scripts_are_modules = true
88

9+
# do not descend into 3rd party dependencies
10+
follow_imports = silent
11+
follow_imports_for_stubs = true
12+
913
# hidden flags for PEP 688 compat, see https://github.com/python/mypy/issues/15313
1014
disable_bytearray_promotion = true
1115
disable_memoryview_promotion = true
@@ -50,4 +54,4 @@ enable_error_code = [
5054
"unimported-reveal",
5155
"unused-awaitable",
5256
"unused-ignore",
53-
]
57+
]

0 commit comments

Comments
 (0)