Skip to content

Commit 5d8f1a4

Browse files
committed
chore: revert sqlalchemy changes to unblock PR
1 parent 7f8d235 commit 5d8f1a4

3 files changed

Lines changed: 2 additions & 23 deletions

File tree

packages/sqlalchemy-bigquery/.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ omit =
2222
sqlalchemy_bigquery/requirements.py
2323

2424
[report]
25-
fail_under = 98
25+
fail_under = 100
2626
show_missing = True
2727
exclude_lines =
2828
# Re-enable the standard pragma

packages/sqlalchemy-bigquery/noxfile.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,6 @@
119119
}
120120

121121
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
122-
# Path to the centralized mypy configuration file at the repository root.
123-
# Search upwards to support running nox from both monorepo packages and integration test goldens.
124-
MYPY_CONFIG_FILE = next(
125-
(
126-
str(p / "mypy.ini")
127-
for p in CURRENT_DIRECTORY.parents
128-
if (p / "mypy.ini").exists()
129-
),
130-
str(CURRENT_DIRECTORY.parent.parent / "mypy.ini"),
131-
)
132122

133123

134124
def _calculate_duration(func):
@@ -477,7 +467,7 @@ def cover(session):
477467
test runs (not system test runs), and then erases coverage data.
478468
"""
479469
session.install("coverage", "pytest-cov")
480-
session.run("coverage", "report", "--show-missing")
470+
session.run("coverage", "report", "--show-missing", "--fail-under=100")
481471

482472
session.run("coverage", "erase")
483473

packages/sqlalchemy-spanner/noxfile.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,6 @@ class = StreamHandler
8282
RUFF_VERSION = "ruff==0.14.14"
8383
LINT_PATHS = ["google", "tests", "noxfile.py", "setup.py", "samples"]
8484
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
85-
# Path to the centralized mypy configuration file at the repository root.
86-
# Search upwards to support running nox from both monorepo packages and integration test goldens.
87-
MYPY_CONFIG_FILE = next(
88-
(
89-
str(p / "mypy.ini")
90-
for p in CURRENT_DIRECTORY.parents
91-
if (p / "mypy.ini").exists()
92-
),
93-
str(CURRENT_DIRECTORY.parent.parent / "mypy.ini"),
94-
)
95-
9685
UNIT_TEST_STANDARD_DEPENDENCIES = [
9786
"mock",
9887
"pytest",

0 commit comments

Comments
 (0)