Skip to content

Commit

Permalink
remove unnecessary optional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tandemdude authored Nov 7, 2024
1 parent f16aa7a commit 9da0edf
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 @@ -46,24 +46,24 @@ def inner(func: Callable[[nox.Session], None]) -> Callable[[nox.Session], None]:

@nox_session()
def format_fix(session: nox.Session) -> None:
session.install("-U", ".[localization,crontrigger,dev.format]")
session.install("-U", ".[dev.format]")
session.run("python", "-m", "ruff", "format", *SCRIPT_PATHS)
session.run("python", "-m", "ruff", "check", "--fix", *SCRIPT_PATHS)


@nox_session()
def format_check(session: nox.Session) -> None:
session.install("-U", ".[localization,crontrigger,dev.format]")
session.install("-U", ".[dev.format]")
session.run("python", "-m", "ruff", "format", *SCRIPT_PATHS, "--check")
session.run("python", "-m", "ruff", "check", "--output-format", "github", *SCRIPT_PATHS)


@nox_session()
def typecheck(session: nox.Session) -> None:
session.install("-U", ".[localization,crontrigger,dev.typecheck,dev.test]")
session.install("-U", ".[dev.typecheck,dev.test]")
session.run("python", "-m", "pyright")


@nox_session()
def slotscheck(session: nox.Session) -> None:
session.install("-U", ".[localization,crontrigger,dev.slotscheck]")
session.install("-U", ".[dev.slotscheck]")

0 comments on commit 9da0edf

Please sign in to comment.