From 5d7fcf249bb34025f7675935e34d710936fa824f 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:15 +0000 Subject: [PATCH] chore: fail samples nox session if python version is missing (#153) --- datalabeling/snippets/noxfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/datalabeling/snippets/noxfile.py b/datalabeling/snippets/noxfile.py index b008613f03ff..1fd8956fbf01 100644 --- a/datalabeling/snippets/noxfile.py +++ b/datalabeling/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 #