Ignore pylint warnings for the older pep257 code

This commit is contained in:
Florian Bruhin 2015-01-15 22:46:03 +01:00
parent 04598b2315
commit eadaef3ce9

View File

@ -107,8 +107,11 @@ def check_pep257(target):
sys.argv += args
try:
if hasattr(pep257, 'run_pep257'):
# newer pep257 versions
status = pep257.run_pep257()
else:
# older pep257 versions
# pylint: disable=assignment-from-no-return,no-member
status = pep257.main(*pep257.parse_options())
print()
return status