Skip to content

Commit

Permalink
chore: Add back MYPYPATH env var for type checking action
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Apr 2, 2023
1 parent 80480b0 commit 2860bb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions duties.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def check_types(ctx: Context) -> None:
Parameters:
ctx: The context instance (passed automatically).
"""
os.environ["MYPYPATH"] = "src"
ctx.run(
mypy.run(*PY_SRC_LIST, config_file="config/mypy.ini"),
title=pyprefix("Type-checking"),
Expand Down

0 comments on commit 2860bb6

Please sign in to comment.