Skip to content

Commit c3b2bc7

Browse files
committed
Ruff
1 parent ab8340c commit c3b2bc7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/check_registry.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,11 @@ def main(uv: str):
190190
sys.exit(1)
191191
listed_interpreters = subprocess.check_output(["py", "--list-paths"], text=True)
192192
py_listed = set(listed_interpreters.splitlines())
193-
if py_311_line in py_listed or py_312_line in py_listed or py_313_line in py_listed:
193+
if (
194+
py_311_line in py_listed
195+
or py_312_line in py_listed
196+
or py_313_line in py_listed
197+
):
194198
print(f"Python launcher interpreter not cleared: {py_listed}")
195199
sys.exit(1)
196200

0 commit comments

Comments
 (0)