Skip to content

Commit 38ebf67

Browse files
build(python): fail nox sessions if a python version is missing (#130)
Nox's default behavior is to quietly skip if a python interpreter is missing. https://nox.thea.codes/en/stable/usage.html#failing-sessions-when-the-interpreter-is-missing Source-Author: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Source-Date: Tue Mar 16 13:38:02 2021 -0600 Source-Repo: googleapis/synthtool Source-Sha: eda422b90c3dde4a872a13e6b78a8f802c40d0db Source-Link: googleapis/synthtool@eda422b
1 parent d693c88 commit 38ebf67

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/google-cloud-speech/noxfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"docs",
4242
]
4343

44+
# Error if a python version is missing
45+
nox.options.error_on_missing_interpreters = True
46+
4447

4548
@nox.session(python=DEFAULT_PYTHON_VERSION)
4649
def lint(session):

packages/google-cloud-speech/synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-speech.git",
7-
"sha": "24b94247bab22b8fad15a251bff06ec8620f0f90"
7+
"sha": "a7a0696a5f3cb02dbb645f046d39b1a67f90d47b"
88
}
99
},
1010
{
@@ -19,14 +19,14 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "2c54c473779ea731128cea61a3a6c975a08a5378"
22+
"sha": "eda422b90c3dde4a872a13e6b78a8f802c40d0db"
2323
}
2424
},
2525
{
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "2c54c473779ea731128cea61a3a6c975a08a5378"
29+
"sha": "eda422b90c3dde4a872a13e6b78a8f802c40d0db"
3030
}
3131
}
3232
],

0 commit comments

Comments
 (0)