From 2d8650fec44c218fe509f198312560283c1aea4b Mon Sep 17 00:00:00 2001 From: Anthony Corletti Date: Fri, 18 Oct 2024 17:14:10 -0400 Subject: [PATCH] small fix --- snok/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snok/cli.py b/snok/cli.py index a238b20..0f9bc79 100644 --- a/snok/cli.py +++ b/snok/cli.py @@ -265,7 +265,7 @@ def _lint() -> None: # pragma: no cover ["black", "--check", *_snok_sources()], ) _run_cmd( - ["ruff", *_snok_sources()], + ["ruff", "check", *_snok_sources()], ) @@ -286,7 +286,7 @@ def _format( ["black", *_snok_sources(), *extra_paths], ) _run_cmd( - ["ruff", "--fix", *_snok_sources(), *extra_paths], + ["ruff", "check", "--fix", *_snok_sources(), *extra_paths], ) @@ -299,7 +299,7 @@ def _test( False, "--keepitonehundred", help="Fail if the test coverage is less than 100%. Defaults to False.", - ) + ), ) -> None: # pragma: no cover echo("Running tests...") cmd = [