How to disable underline from comment section in pycharm?

已回答

I am using pyCharm for a few weeks. While using it, it's really annoying that comments are underlined for some reasons. I have added an image to clarify. How to get rid of this underlines?

 

1

Hi Saifulbari! Comments are underlined because you have PEP 8 violation there - one have to put a space after comment sign and before comment message.

If this syntax is what you want - you can disable this inspection manually:

  • put a caret on the underlined comment
  • press ALt+Enter
  • select Ignore errors like this from the popup
2
Avatar
Permanently deleted user

Thanks you for your answer.

0

请先登录再写评论。