From 6844aa1d7b8be473121fa001fdc4c2849ca6258d Mon Sep 17 00:00:00 2001 From: hypergonial <46067571+hypergonial@users.noreply.github.com> Date: Wed, 13 Dec 2023 00:32:52 +0100 Subject: [PATCH] Stop being dumb --- noxfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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