Skip to content

Commit

Permalink
Change: Update empty files list info message to match that of pylint …
Browse files Browse the repository at this point in the history
…plugin (#3)
  • Loading branch information
m0rl authored Jun 19, 2023
1 parent fae5725 commit bce7cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autohooks/plugins/ruff/ruff.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def precommit(
files = [f for f in get_staged_status() if str(f.path).endswith(".py")]

if not files:
ok("No staged files to format.")
ok("No staged files to lint.")
return 0

cmd = ["ruff", "check"] + get_ruff_arguments(get_ruff_config(config))
Expand Down

0 comments on commit bce7cfd

Please sign in to comment.