From d4de37848e70d37ae4061e25256d1b68242be7a0 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 (#218) --- documentai/snippets/noxfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/documentai/snippets/noxfile.py b/documentai/snippets/noxfile.py index b008613f03ff..1fd8956fbf01 100644 --- a/documentai/snippets/noxfile.py +++ b/documentai/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 #