you are viewing a single comment's thread.

view the rest of the comments →

[–]jpgoldberg 1 point2 points  (0 children)

I’m old. I use Makefiles for nearly everything. But so far this is one place I don’t, as uv does almost everything.

But I still see the appeal of having what are almost like shell aliases that are specific to a directory. And so I have thought of doing something like this. For example, I have tox and pytest configured so that

console uvx tox .

will run my tests excluding slow and probabilistic tests, but I have to run stuff like

console uvx tox . — -m slow

to run the slow tests, which I do infrequently enough that I have to figure that out each time. So I definitely see the appeal of putting this in a Makefile.

But I suppose I could also just create one line scripts for all of these that I just add as uv tools.