Pycharm Suppress PEP8 Warnings with Comments On the Same Line

Hi! Right now, I have the following in my code:

# noinspection PyPep8Naming
from keras import backend as K

I was wondering, is there a way to make the following possible:

from keras import backend as K  # noinspection PyPep8Naming

Thanks!

2 comments
Comment actions Permalink

 

Yes, I too would really like this, is it possible?

0
Comment actions Permalink

Hello, 

 

Starting with 2020.1 you can use  # noqa comments to suppress any inspection warning (PY-8656) and these are required to be at the same line.

0

Please sign in to leave a comment.