From 2860bb60eebd4a8682eb687fb891d6f0a18f952a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Sun, 2 Apr 2023 13:56:34 +0200 Subject: [PATCH] chore: Add back MYPYPATH env var for type checking action --- duties.py | 1 + 1 file changed, 1 insertion(+) diff --git a/duties.py b/duties.py index b4ef4474..51cef860 100644 --- a/duties.py +++ b/duties.py @@ -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"),