From c8b71b181abe959b1bb14b84059c19e874834e3e Mon Sep 17 00:00:00 2001 From: kreczko Date: Mon, 21 Oct 2024 11:27:21 +0100 Subject: [PATCH] build(nox): set python versions for some items --- noxfile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/noxfile.py b/noxfile.py index 13ba57c..7cf9f23 100644 --- a/noxfile.py +++ b/noxfile.py @@ -11,7 +11,7 @@ nox.options.sessions = ["lint", "pylint", "tests"] -@nox.session +@nox.session(python=["3.11", "3.12"]) def lint(session: nox.Session) -> None: """ Run the linter. @@ -22,7 +22,7 @@ def lint(session: nox.Session) -> None: ) -@nox.session +@nox.session(python=["3.11", "3.12"]) def pylint(session: nox.Session) -> None: """ Run PyLint. @@ -33,7 +33,7 @@ def pylint(session: nox.Session) -> None: session.run("pylint", "fasthep_flow", *session.posargs) -@nox.session +@nox.session(python=["3.11", "3.12"]) def tests(session: nox.Session) -> None: """ Run the unit and regular tests. @@ -103,7 +103,7 @@ def build_api_docs(session: nox.Session) -> None: ) -@nox.session +@nox.session(python=["3.11", "3.12"]) def build(session: nox.Session) -> None: """ Build an SDist and wheel.