From 61fd68f6d11def301bdd66766efe8f11cbcee609 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 30 Sep 2021 15:44:26 +0000 Subject: [PATCH] chore: fail samples nox session if python version is missing (#304) --- asset/snippets/snippets/noxfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/asset/snippets/snippets/noxfile.py b/asset/snippets/snippets/noxfile.py index b008613f03ff..1fd8956fbf01 100644 --- a/asset/snippets/snippets/noxfile.py +++ b/asset/snippets/snippets/noxfile.py @@ -98,6 +98,10 @@ def get_pytest_env_vars() -> Dict[str, str]: "True", "true", ) + +# Error if a python version is missing +nox.options.error_on_missing_interpreters = True + # # Style Checks #