How to disable special naming convention inspection of PEP 8 in PyCharm

前端 未结 4 485
故里飘歌
故里飘歌 2020-12-29 02:54

I installed PyCharm and enabled pep8 checks in Inspections. If I write:

def func(argOne):
    print(argOne)

The

4条回答
  •  执笔经年
    2020-12-29 03:21

    Since PyCharm 2.7 you can hover over the inspected code and use the to Ignore errors like this.

    Further more you can manage the ignored errors at Settings > Editor > Inspections > Python > PEP 8 naming convention violation > Ignored errors

    Tested in PyCharm Community Edition 2016.3.2

    Edit:

    To remove the modification later on you can use to Show Only Modified Inspections and delete the Ignored errors with

    Tested in PyCharm Community Edition 2017.2.3

提交回复
热议问题