From 2ae0ff3ff692e03cbf05bb986aeb1212309fe3f8 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Wed, 29 Sep 2021 18:34:05 +0000 Subject: [PATCH 1/2] fix: fail nox session if python version is missing --- noxfile-template.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/noxfile-template.py b/noxfile-template.py index f4efc8f5fe8..b9e59a1f6cb 100644 --- a/noxfile-template.py +++ b/noxfile-template.py @@ -97,6 +97,9 @@ def get_pytest_env_vars() -> Dict[str, str]: TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS]) INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False)) + +# Error if a python version is missing +nox.options.error_on_missing_interpreters = True # # Style Checks # From f43c44282677910a5510ea21d071eea31db4c72d Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Wed, 29 Sep 2021 18:36:02 +0000 Subject: [PATCH 2/2] chore: modify spacing --- noxfile-template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/noxfile-template.py b/noxfile-template.py index b9e59a1f6cb..df5a5e7ba79 100644 --- a/noxfile-template.py +++ b/noxfile-template.py @@ -100,6 +100,7 @@ def get_pytest_env_vars() -> Dict[str, str]: # Error if a python version is missing nox.options.error_on_missing_interpreters = True + # # Style Checks #