Skip to content

Commit d1c942a

Browse files
pybind/mgr: attempt to fix mypy importing from python-common
For some reason mypy on python 3.12 can no longer automatically find imports from python-common. Help it out by expanding the MYPYPATH value for the tox.ini. Signed-off-by: John Mulligan <[email protected]>
1 parent a278231 commit d1c942a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pybind/mgr/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ commands =
6969

7070
[testenv:{,py37-,py38-,py39-,py310-}mypy]
7171
setenv =
72-
MYPYPATH = {toxinidir}/..
72+
MYPYPATH = {toxinidir}/..:{toxinidir}/../../python-common
7373
passenv =
7474
MYPYPATH
7575
deps =

0 commit comments

Comments
 (0)