diff --git a/noxfile.py b/noxfile.py index 6bbf218..939052a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -20,10 +20,10 @@ def format_fix(session: nox.Session): @nox.session() -def format(session: nox.Session): +def format(session: nox.Session) -> None: session.install("-U", "ruff") - session.run("python", "-m", "ruff", *SCRIPT_PATHS, "--check") session.run("python", "-m", "ruff", "format", *SCRIPT_PATHS, "--check") + session.run("python", "-m", "ruff", *SCRIPT_PATHS) # Copyright (C) 2022-present hypergonial