uv icon indicating copy to clipboard operation
uv copied to clipboard

Use `flask` in lieu of `black` for tool tests

Open charliermarsh opened this issue 1 year ago • 4 comments

Summary

On my machine, this reduces the test time from ~12 seconds to 4-5 seconds, since the package is so much smaller and the cold starts aren't as dramatic as black.

charliermarsh avatar Jul 03 '24 18:07 charliermarsh

Let's just create a project in astral-test? It should be trivial to publish a package with some entry points. I can do it this week.

zanieb avatar Jul 03 '24 18:07 zanieb

Ok, but I need this like... ASAP. The tests are so slow for me. I suppose I can do it now.

charliermarsh avatar Jul 03 '24 18:07 charliermarsh

I don't mind if you merge this in the meantime but it feels like a bit of a hack and I don't love the extra being included. 🤷‍♀️

zanieb avatar Jul 03 '24 18:07 zanieb

Can I change it to Flask in the meantime?

charliermarsh avatar Jul 03 '24 18:07 charliermarsh