mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Enable some Ruff FURB rules (#13310)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -218,7 +218,7 @@ def main() -> None:
|
||||
info = get_installed_package_info(project)
|
||||
if info is None:
|
||||
print(f'Error: "{project}" is not installed', file=sys.stderr)
|
||||
print("", file=sys.stderr)
|
||||
print(file=sys.stderr)
|
||||
print(f'Suggestion: Run "python3 -m pip install {project}" and try again', file=sys.stderr)
|
||||
sys.exit(1)
|
||||
project, version = info
|
||||
|
||||
Reference in New Issue
Block a user