Skip to content

Commit 5e30f5b

Browse files
chore: fix INSTALL_LIBRARY_FROM_SOURCE in noxfile.py (#270)
Source-Link: googleapis/synthtool@6252f2c Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:50e35228649c47b6ca82aa0be3ff9eb2afce51c82b66c4a03fe4afeb5ff6c0fc
1 parent faa4523 commit 5e30f5b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

bigquery_storage/quickstart/noxfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ def get_pytest_env_vars() -> Dict[str, str]:
9494

9595
TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS])
9696

97-
INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False))
97+
INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in (
98+
"True",
99+
"true",
100+
)
98101
#
99102
# Style Checks
100103
#

bigquery_storage/to_dataframe/noxfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ def get_pytest_env_vars() -> Dict[str, str]:
9494

9595
TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS])
9696

97-
INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False))
97+
INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in (
98+
"True",
99+
"true",
100+
)
98101
#
99102
# Style Checks
100103
#

0 commit comments

Comments
 (0)