Skip to content

Commit 492bf63

Browse files
committed
fix(generator): pass MYPY_CONFIG_FILE to mypy in showcase_mypy session
1 parent ddacf0d commit 492bf63

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

packages/gapic-generator/noxfile.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,13 @@ def showcase_mypy(
618618
session.chdir(lib)
619619

620620
# Run the tests.
621-
session.run("mypy", "-p", "google", "--check-untyped-defs")
621+
session.run(
622+
"mypy",
623+
f"--config-file={MYPY_CONFIG_FILE}",
624+
"-p",
625+
"google",
626+
"--check-untyped-defs",
627+
)
622628

623629

624630
@nox.session(python=NEWEST_PYTHON)

0 commit comments

Comments
 (0)