user10584279
user10584279

Reputation: 81

pycharm does not warn for unused variables and import

Suddenly my pycharm stopped warning for unused variables or unused import [coloring these lines in gray]. I searched everywhere in the setting and inspection and could not find the problem.

Upvotes: 8

Views: 1435

Answers (1)

Dinko Pehar
Dinko Pehar

Reputation: 6061

You can enable it again by going Settings -> Editor -> Inspections and in Python category, find Unused local and Unresolved references and next to them place checkmark to enable them.

Upvotes: 4

Related Questions