We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f301bf5 commit f6eadaaCopy full SHA for f6eadaa
test/lint/all-lint.py
@@ -10,11 +10,12 @@
10
from glob import glob
11
from pathlib import Path
12
from subprocess import run
13
+from sys import executable
14
15
exit_code = 0
16
mod_path = Path(__file__).parent
17
for lint in glob(f"{mod_path}/lint-*.py"):
- result = run([lint])
18
+ result = run([executable, lint])
19
if result.returncode != 0:
20
print(f"^---- failure generated from {lint.split('/')[-1]}")
21
exit_code |= result.returncode
0 commit comments