jendrikseipp/vulture: Find dead Python code
(github.com)
from jnovinger@programming.dev to python@programming.dev on 29 Mar 2024 14:37
https://programming.dev/post/12087293
from jnovinger@programming.dev to python@programming.dev on 29 Mar 2024 14:37
https://programming.dev/post/12087293
The repo also links to some similar tools, like coveragepy
, uncalled
, and dead
.
#python
threaded - newest
I recently gotten into Python programming for funzies with ChatGPT as my tutor. Definitely need a tool like this.
If you ensure 100% test coverage, you don’t need this ;-)
What if your test is the only thing that calls a function?
Maybe I’m misunderstanding vulture. My impression was that it’s meant to be run in your CI, which would mean it’s only privy to code executed by your tests. If it actually attached to production sessions, then yeah that’s pretty handy.
Why would you ever write something like this in python of all languages!? Python is sooo sloooow
Why would you ever do machine learning with python? Its sooo slow!!!
Seriously