|
@@ -68,7 +68,7 @@ def run_linter(
|
|
:raise CalledProcessError: If the linter process exits with failure.
|
|
:raise CalledProcessError: If the linter process exits with failure.
|
|
"""
|
|
"""
|
|
subprocess.run(
|
|
subprocess.run(
|
|
- ('python3', '-m', tool, *args),
|
|
|
|
|
|
+ (sys.executable, '-m', tool, *args),
|
|
env=env,
|
|
env=env,
|
|
check=True,
|
|
check=True,
|
|
stdout=subprocess.PIPE if suppress_output else None,
|
|
stdout=subprocess.PIPE if suppress_output else None,
|