ruff: apply automatic unsafe fixes

This commit is contained in:
Jörg Thalheim
2025-08-20 14:18:30 +02:00
parent ea2d6aab65
commit 0ec2c32ff8
29 changed files with 78 additions and 51 deletions

View File

@@ -21,7 +21,7 @@ def _get_lib_names() -> list[str]:
machine = platform.machine().lower()
if system == "windows":
if machine == "amd64" or machine == "x86_64":
if machine in {"amd64", "x86_64"}:
return ["webview.dll", "WebView2Loader.dll"]
if machine == "arm64":
msg = "arm64 is not supported on Windows"