Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycorletti committed Oct 18, 2024
1 parent 5181d01 commit 2d8650f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snok/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def _lint() -> None: # pragma: no cover
["black", "--check", *_snok_sources()],
)
_run_cmd(
["ruff", *_snok_sources()],
["ruff", "check", *_snok_sources()],
)


Expand All @@ -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],
)


Expand All @@ -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 = [
Expand Down

0 comments on commit 2d8650f

Please sign in to comment.