mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 11:31:25 +08:00
Enable some Ruff FURB rules (#13310)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
1 parent
4ce9f24f39
commit
67568b5e19
2 files changed
+11
-1
No files matched your search
@@ -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