1
1
1
50

Shamelessly cross-posting this ...

19
1
submitted 3 years ago* (last edited 3 years ago) by jnovinger@programming.dev to c/devops@programming.dev

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.

1

⚠ Proceed with caution when using this on production like workloads. Best to try on similar setup or staging like environment first. Read on below for some examples and caveats.

13
submitted 3 years ago* (last edited 3 years ago) by jnovinger@programming.dev to c/python@programming.dev
7
1
1
SQL Murder Mystery (mystery.knightlab.com)

Can you find out whodunnit?

1
view more: ‹ prev next ›

jnovinger

0 post score
0 comment score
joined 3 years ago
MODERATOR OF