From b7795f989eb86cfa3ef5e2920e008f7ad26126e0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 25 May 2023 08:32:41 +0530 Subject: [PATCH] Fix invocation of ruff since its CLI has changed --- setup/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/check.py b/setup/check.py index 22c88ccd31..2b64eb6bd3 100644 --- a/setup/check.py +++ b/setup/check.py @@ -77,7 +77,7 @@ class Check(Command): def file_has_errors(self, f): ext = os.path.splitext(f)[1] if ext in {'.py', '.recipe'}: - p2 = subprocess.Popen(['ruff', '--no-update-check', f]) + p2 = subprocess.Popen(['ruff', 'check', f]) return p2.wait() != 0 if ext == '.pyj': p = subprocess.Popen(['rapydscript', 'lint', f])