Is it possible to disable portion of an inspection?
Answered
2017.1.3 inspection detects this code as "Unexpected Argument".
import time
tVar = time.time()
print long(tVar)

https://youtrack.jetbrains.com/issue/PY-24286 appears to be the issue. I'm curious if there is a way to disable long() inspections in the mean time without completely disabling 'Incorrect call arguments' ?
Please sign in to leave a comment.
Hi Marcel! Unfortunately there's no way to disable this particular inspection globally. You can only disable it for specific class/function/statement with right click (Alt+Enter) menu:
I increased the issue priority. Sorry for the inconvenience!