From bce7cfd2b460ef7391b9360280fd069f35952988 Mon Sep 17 00:00:00 2001 From: Nikita Tretyakov Date: Mon, 19 Jun 2023 07:51:18 +0200 Subject: [PATCH] Change: Update empty files list info message to match that of pylint plugin (#3) --- autohooks/plugins/ruff/ruff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))