mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 21:40:11 -05:00
Use ty to type-check Python files (#17229)
I added mypy type‑checking in https://github.com/astral-sh/uv/pull/5332, so I think it's a good time to switch to ty now :)
This commit is contained in:
@@ -94,7 +94,7 @@ def _user_scheme() -> str:
|
||||
user_scheme = sysconfig.get_preferred_scheme("user")
|
||||
elif os.name == "nt":
|
||||
user_scheme = "nt_user"
|
||||
elif sys.platform == "darwin" and sys._framework:
|
||||
elif sys.platform == "darwin" and sys._framework: # ty: ignore[unresolved-attribute]
|
||||
user_scheme = "osx_framework_user"
|
||||
else:
|
||||
user_scheme = "posix_user"
|
||||
|
||||
Reference in New Issue
Block a user