Jason Novinger@programming.devM to Python@programming.dev · edit-21 year agojendrikseipp/vulture: Find dead Python codegithub.comexternal-linkmessage-square7fedilinkarrow-up116arrow-down10file-text
arrow-up116arrow-down1external-linkjendrikseipp/vulture: Find dead Python codegithub.comJason Novinger@programming.devM to Python@programming.dev · edit-21 year agomessage-square7fedilinkfile-text
minus-squareDaniel QuinnlinkfedilinkEnglisharrow-up1·1 year agoIf you ensure 100% test coverage, you don’t need this ;-)
minus-squaregedhrel@lemmy.worldlinkfedilinkarrow-up3·edit-21 year agoWhat if your test is the only thing that calls a function?
minus-squareDaniel QuinnlinkfedilinkEnglisharrow-up1·1 year agoMaybe 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.
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.