I have some code like
dbDriver = config.lims.database.driver
from models import *
where 'config' is marked as 'unused import statement' and is greyed out even though it is used very obviously. However through the general import from models the 'config' module gets imported again (which PyCharm probably detects), maybe that is the reason.
But: config is needed before
the import of 'models', so 'Unused import' is not really right ... (and it fooled me to remove the import statement which caused by tests to fail of course ...)
I've had the problem in PyCharm 3.1, 3.3 and also now after the upgrade to 3.4.1 (OS X and Linux).