Skip to content

Commit

Permalink
fix: docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Dec 2, 2024
1 parent f61e9d7 commit 85b795a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def install(session: nox.Session) -> None:

@nox.session
def lint(session: nox.Session) -> None:
"""Run ruff and mypy."""
install(session)
session.run("ruff", "check", ".", "--fix")
session.run("ruff", "format", ".")
Expand All @@ -26,12 +27,14 @@ def lint(session: nox.Session) -> None:

@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"])
def test(session: nox.Session) -> None:
"""Run tests."""
install(session)
session.run("coverage", "run", "-m", "pytest", "-vv", *session.posargs)


@nox.session
def coverage(session: nox.Session) -> None:
"""Generate and report coverage."""
install(session)
session.run("coverage", "combine")
session.run("coverage", "report", "-m")
Expand Down

0 comments on commit 85b795a

Please sign in to comment.