Skip to content

Commit 8d1dd07

Browse files
authored
CI: Use sys.executable instead of "python" in subprocess (#57220)
1 parent b51c38a commit 8d1dd07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate_docstrings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def validate_pep8(self):
188188
file.write(content)
189189
file.flush()
190190
cmd = [
191-
"python",
191+
sys.executable,
192192
"-m",
193193
"flake8",
194194
"--format=%(row)d\t%(col)d\t%(code)s\t%(text)s",

0 commit comments

Comments
 (0)