From 12671e8f69eba69fea1a52b789909c0e60fe05e4 Mon Sep 17 00:00:00 2001 From: OLEGSHA Date: Sat, 17 Dec 2022 14:44:10 +0300 Subject: [PATCH] TMP / pre-commit.py: fix env_name --- tools/pre-commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pre-commit.py b/tools/pre-commit.py index 7a3fa94..b1d8a36 100755 --- a/tools/pre-commit.py +++ b/tools/pre-commit.py @@ -347,7 +347,7 @@ def load_settings(): cmds = (hint.split(';') for hint in hints) res = next((cmd for cmd in cmds if shutil.which(cmd[0])), None) \ - or fail(f"Command {hints[0]} not found. Set {env_name} " + + or fail(f"Command {hints[0]} not found. Set {settings_name} " + f"in {path} or check PATH") verbose(f"Found command {hints[0]}:", *(repr(c) for c in res))