diff --git a/autohooks/plugins/ruff/ruff.py b/autohooks/plugins/ruff/ruff.py index 70861f9..e03bddf 100644 --- a/autohooks/plugins/ruff/ruff.py +++ b/autohooks/plugins/ruff/ruff.py @@ -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))