Closed jimmy927 closed 2 years ago
@jimmy927 Can you elaborate some more on this -- What is the outcome you want to achieve? How are you using Vulture with PyCharm/JetBrains? And how is the code snipped above relevant to it?
PyCharm has a builtin linter with a syntax for disabling warnings. It works with these # noinspection
comments disabling inspection.
In this particular case I think this comment suppresses warnings for unused local variables in the terminate_process
function
I believe OP would like to be able to disable both the PyCharm linter and vulture using the same syntax.
I think in this case it's cleaner to add del frame
at the top of the function to let Vulture ignore the unused variable (see Vulture README.md file).
Example: