8000 ci: Add back MYPYPATH env var to check-types duty · AntoineD/mkdocstrings-python@7f5529f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f5529f

Browse files
committed
ci: Add back MYPYPATH env var to check-types duty
1 parent 2d41813 commit 7f5529f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

duties.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ def check_types(ctx: Context) -> None:
148148
Parameters:
149149
ctx: The context instance (passed automatically).
150150
"""
151+
os.environ["MYPYPATH"] = "src"
151152
ctx.run(
152153
mypy.run(*PY_SRC_LIST, config_file="config/mypy.ini"),
153154
title=pyprefix("Type-checking"),

0 commit comments

Comments
 (0)
0