Still one of the best talks I've seen live!
Still one of the best talks I've seen live!
i'm building an experimental tool for exploring 25 years of my old sketchbooks, with image and text recognition powered by gemini
Screenshot of python code showing how to mock env vars in pytest
Another python testing question answered by another great blog post by @adamj.eu on how to mock env vars.
Here I'm mocking the SQLITE_DB_PATH env var to create a test db, run migrations and seed the db before running tests.
adamj.eu/tech/2020/10...
Congrats!
I just released Ruff 0.8! Lots of exciting features in this release, but there are also a few breaking changes, so I'd encourage users to check out the blog post. The biggest change is that the target-version setting now defaults to Python 3.9 (but this is configurable!) astral.sh/blog/ruff-v0...
It is my desire for dynamic metadata in Python to die. But taking it away without replacement is not a great move. If you want to brainstorm, I started a discussion on the forums: discuss.python.org/t/brainstorm...