Reputation: 81
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
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