Skip to content

Commit 3a99b94

Browse files
committed
feat(handwritten): centralize mypy.ini and update noxfiles
1 parent 91a6167 commit 3a99b94

29 files changed

Lines changed: 19 additions & 193 deletions

File tree

packages/bigframes/mypy.ini

Lines changed: 0 additions & 46 deletions
This file was deleted.

packages/bigframes/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ def mypy(session):
10861086
shutil.rmtree(".mypy_cache", ignore_errors=True)
10871087
session.run(
10881088
"mypy",
1089+
"--config-file=../../mypy.ini",
10891090
"bigframes",
10901091
os.path.join("tests", "system"),
10911092
os.path.join("tests", "unit"),

packages/bigquery-magics/mypy.ini

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/google-auth/mypy.ini

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/google-auth/noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ def mypy(session):
156156
"types-mock",
157157
"pytest<8.0.0",
158158
)
159-
session.run("mypy", "-p", "google", "-p", "tests", "-p", "tests_async")
159+
session.run("mypy",
160+
"--config-file=../../mypy.ini", "-p", "google", "-p", "tests", "-p", "tests_async")
160161

161162

162163
@nox.session(python=ALL_PYTHON)

packages/google-backstory/mypy.ini

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/google-backstory/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def mypy(session):
107107
session.install(".")
108108
session.run(
109109
"mypy",
110+
"--config-file=../../mypy.ini",
110111
"-p",
111112
"google",
112113
"--check-untyped-defs",

packages/google-cloud-appengine-logging/mypy.ini

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/google-cloud-appengine-logging/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def mypy(session):
107107
session.install(".")
108108
session.run(
109109
"mypy",
110+
"--config-file=../../mypy.ini",
110111
"-p",
111112
"google",
112113
"--check-untyped-defs",

packages/google-cloud-bigquery-logging/mypy.ini

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)