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

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

python - TypeError: can only concatenate tuple (not "float") to tuple -

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