[vdsm] [PEP 8] About configuring editor plugins for checking PEP 8

Zhou Zheng Sheng zhshzhou at linux.vnet.ibm.com
Tue Nov 13 11:16:33 UTC 2012


Hi all,

In the latest version of pep8 checking tool, the rules are very strict.
Currently the VDSM project applies a less strict rule set by suppressing
some errors from pep8. You can find them at Makefile.am . Under the
"check-local:" target, you will see

--ignore=E121,E122,E123,E124,E125,E126,E127,E128,E241


I know some of us using editor plugins to check pep8 erros. Those
plugins invoke flake8/pep8 and report errors. To ignore some rules not
needed by VDSM in the editor, create a file in ~/.config/pep8 and input
the text as follow.

[pep8]
ignore=E121,E122,E123,E124,E125,E126,E127,E128,E241

-- 
Thanks and best regards!

Zhou Zheng Sheng / 周征晟
E-mail: zhshzhou at linux.vnet.ibm.com
Telephone: 86-10-82454397



More information about the vdsm-devel mailing list