Method XYZ may be static
Hello,
my project has a module which was written quite OO like. I'm refactoring this one now, but I get very annoying warnings "Method 'xyz' may be static." It's true, yes, but making the methods static does not make much sense from a programming perspective.
How do you disable this warning, given that http://pep8.readthedocs.org/en/latest/intro.html#configuration did not list an error code that would do this?
Kawu
my project has a module which was written quite OO like. I'm refactoring this one now, but I get very annoying warnings "Method 'xyz' may be static." It's true, yes, but making the methods static does not make much sense from a programming perspective.
How do you disable this warning, given that http://pep8.readthedocs.org/en/latest/intro.html#configuration did not list an error code that would do this?
Kawu
Please sign in to leave a comment.
you can also open the settings. Look for the inspections settings under project settings. There should be "Method may be static" in the python section.
Kawu