python - How to disable a pep8 error in a specific file? -


i tried with

#:pep8 -e223 

or

# pep8: disable=e223 

i thought second work doesn't seems work.

do have idea how can handle ?

as far know, can't. can disable errors or warnings user wide, or per project. see the documentation.

instead, can use # noqa comment @ end of line, skip particular line (see patch 136). of course, skip pep8 errors.

the main author argues against source file noise, suggested # pep8 comments don't included.


note there nopep8, equivalent. noqa (which stands no quality assurance added in version 1.4.1 support people running pyflakes next pep8.


Comments

Popular posts from this blog

c++ - Linked List error when inserting for the last time -

java - activate/deactivate sonar maven plugin by profile? -

java - What is the difference between String. and String.this. ? -