From b34da9e89bc8d49e8e994fc194f122b8a3065a65 Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Tue, 13 Aug 2024 12:47:04 +0200 Subject: [PATCH] Import sys package --- noxfile.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index bdcacb9f..d3320797 100644 --- a/noxfile.py +++ b/noxfile.py @@ -2,6 +2,7 @@ from pprint import pformat import nox +import sys cleaned = [ "etrago/cluster/disaggregation.py", @@ -69,7 +70,8 @@ def build(session): # Skip the session if it doesn't match the current CI Python version if session.python and session.python != current_version: session.skip( - f"Skipping tests for Python {session.python} since the current Python version is {current_version}." + f"""Skipping tests for Python {session.python} since the + current Python version is {current_version}.""" ) setdefaults(session) session.install("twine") @@ -84,7 +86,8 @@ def install(session): # Skip the session if it doesn't match the current CI Python version if session.python and session.python != current_version: session.skip( - f"Skipping tests for Python {session.python} since the current Python version is {current_version}." + f"""Skipping tests for Python {session.python} since the + current Python version is {current_version}.""" ) setdefaults(session) session.env["SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL"] = "False"