Toot

Written by Charles Tapley Hoyt on 2024-11-14 at 19:59

I'm trying to use mypy inside tox with tox-uv, but mypy's --install-types flag hardcodes the usage of pip. When you're using tox-uv, pip is no longer installed in the environment because uv does the heavy lifting with uv pip install as a faster alternative to pip install

Here's my attempt at making mypy more configurable so it can install types using uv:

https://github.com/python/mypy/compare/master...cthoyt:mypy:uv-installer

[#]python #packaging #typing #uv #mypy #tox #virtualenv

=> More informations about this toot | View the thread | More toots from cthoyt@scholar.social

Mentions

Tags

=> View python tag | View packaging tag | View typing tag | View uv tag | View mypy tag | View tox tag | View virtualenv tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113483077695960097
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.563544 milliseconds
Gemini-to-HTML Time
0.971474 milliseconds

This content has been proxied by September (3851b).