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