Skip to content

Commit 713651e

Browse files
build(python): fail nox sessions if a python version is missing (#87)
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 61a6823 commit 713651e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

packages/google-cloud-bigquery-reservation/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-bigquery-reservation/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-bigquery-reservation.git",
7-
"sha": "a1ec7d2563f57b22bd1e8e36e1a934711f4f6916"
7+
"sha": "f8730357abf1e6820bbabda09fe0309bd7df2732"
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)