From 1ec6bbf3046d043106897a823658b52add7d2694 Mon Sep 17 00:00:00 2001 From: jrmylow Date: Sat, 3 Feb 2024 11:08:58 +0800 Subject: [PATCH] Fix using "python" instead of "sys.executable" --- scripts/validate_docstrings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate_docstrings.py b/scripts/validate_docstrings.py index 682d64244bc1f..d54592252206e 100755 --- a/scripts/validate_docstrings.py +++ b/scripts/validate_docstrings.py @@ -188,7 +188,7 @@ def validate_pep8(self): file.write(content) file.flush() cmd = [ - "python", + sys.executable, "-m", "flake8", "--format=%(row)d\t%(col)d\t%(code)s\t%(text)s",