8000 chore: Add back MYPYPATH env var for type checking action · FasterSpeeding/python@2860bb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2860bb6

Browse files
committed
chore: Add back MYPYPATH env var for type checking action
1 parent 80480b0 commit 2860bb6

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
@@ -114,6 +114,7 @@ def check_types(ctx: Context) -> None:
114114
Parameters:
115115
ctx: The context instance (passed automatically).
116116
"""
117+
os.environ["MYPYPATH"] = "src"
117118
ctx.run(
118119
mypy.run(*PY_SRC_LIST, config_file="config/mypy.ini"),
119120
title=pyprefix("Type-checking"),

0 commit comments

Comments
 (0)
0