We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd574c9 commit 8a618a5Copy full SHA for 8a618a5
1 file changed
packages/google-cloud-datastore/noxfile.py
@@ -46,6 +46,8 @@
46
PREVIEW_PYTHON_VERSION = "3.14"
47
48
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
49
+# Path to the centralized mypy configuration file at the repository root.
50
+MYPY_CONFIG_FILE = str(CURRENT_DIRECTORY.parent.parent / "mypy.ini")
51
52
if (CURRENT_DIRECTORY / "testing").exists():
53
LOWER_BOUND_CONSTRAINTS_FILE = (
@@ -107,7 +109,7 @@ def mypy(session):
107
109
session.install(".")
108
110
session.run(
111
"mypy",
- "--config-file=../../mypy.ini",
112
+ f"--config-file={MYPY_CONFIG_FILE}",
113
"-p",
114
"google",
115
# TODO(https://github.com/googleapis/google-cloud-python/issues/16083)
0 commit comments