Skip to content

Commit

Permalink
build(nox): set python versions for some items
Browse files Browse the repository at this point in the history
  • Loading branch information
kreczko committed Oct 21, 2024
1 parent 9802fb0 commit c8b71b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c8b71b1

Please sign in to comment.