mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Code improvements from new Ruff checks (#11498)
This commit is contained in:
@@ -279,7 +279,7 @@ def run_mypy(
|
||||
flags.append("--no-site-packages")
|
||||
|
||||
mypy_args = [*flags, *map(str, files)]
|
||||
mypy_command = [venv_info.python_exe, "-m", "mypy"] + mypy_args
|
||||
mypy_command = [venv_info.python_exe, "-m", "mypy", *mypy_args]
|
||||
if args.verbose:
|
||||
print(colored(f"running {' '.join(mypy_command)}", "blue"))
|
||||
result = subprocess.run(mypy_command, capture_output=True, text=True, env=env_vars)
|
||||
|
||||
Reference in New Issue
Block a user