Lemmy NZ

899 readers
32 users here now

Rules:

FAQ ~ NZ Community List ~ Join Matrix chatroom ~ Alternate frontends

founded 1 year ago
ADMINS
1
 
 

cross-posted from: https://programming.dev/post/196935

To be clear, this isn't my project. Just cross-posting the author's post from !python@programming.dev .

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.

2
 
 

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.

view more: next ›