Disable warnings for uppercase methods, variables etc.
Answered
Hi,
for some projects we do not apply PEP-8 formatting but are using Java style notations with camelCasing for variables, method names, class names etc. As a result we get hundreds of weak warnings of the type "Function name should be lowercase", "Argument name should be lowercase".
Is there any explicit option to disable just this check? I coulnd't find one.
Thanks, incunabulum
for some projects we do not apply PEP-8 formatting but are using Java style notations with camelCasing for variables, method names, class names etc. As a result we get hundreds of weak warnings of the type "Function name should be lowercase", "Argument name should be lowercase".
Is there any explicit option to disable just this check? I coulnd't find one.
Thanks, incunabulum
Please sign in to leave a comment.
Yep...I think the underscores are a stupid waste of space.
It would be awesome to be able to remove that warning.
Hi Travis! You can disable PEP 8 naming convention violation inspection altogether in Settings | Editor | Inspections | Python | PEP 8 naming convention violation. Another variant is to place caret on the specific warning and press Alt+Enter then select Ignore errors like this. Has it helped?
Awesome, Pavel. Thanks for the tips. Now I'm super happy! :)