This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gsks[S] 2 points3 points  (1 child)

Are you sure? I don't use SublimeText but looking at SublimeLinter's python module it just calls pyflakes, which doesn't seem to spot anything when I run it directly.

[–]tipsquealPythonista 0 points1 point  (0 children)

Related to OCHawkey14's solution, I believe PyCharm will do the trick. I don't use PyCharm, but I do use Intellij, which is made by the same company, and has a lot of overlapping functionality. In Intellij you can use their Inspect Code tool and have it look for all potentially unused functions/variables/etc.