[-] niekas@programming.dev 2 points 1 year ago* (last edited 1 year ago)

Yes, you are right ๐Ÿ‘ Thanks for pointing this out. And yes, my package is only a subset of vulture functionality.

[-] niekas@programming.dev 2 points 1 year ago

Thank you for your feedback! Its exactly what I was looking for ๐Ÿ‘

I have already added --count, --quiet options and regexp pattern support for --ignore-names option. Let me know if anything else pops into your mind ๐Ÿ˜ƒ

[-] niekas@programming.dev 2 points 1 year ago* (last edited 1 year ago)

Thank you! I am really glad you did share it. And thanks for a Github star. I really appreciate it :)

[-] niekas@programming.dev 2 points 1 year ago

Great idea! I will add this feature shortly :)

22

Sometimes unused class or function manages to slip into code base. Static code checkers like ruff, flake8 does not have rules for detecting such globally unused code.

I tried using vulture, but it has too many false positives to have it as part of CI/CD pipeline.

I have tried to implement my own, more reliable check for global deadcode detection.

Please let me know what you think about it.

niekas

joined 1 year ago