mirror of https://github.com/celery/kombu.git
PEP8ify
This commit is contained in:
parent
130823fa14
commit
857bd4e2cd
|
@ -17,7 +17,6 @@ if sys.version_info >= (3, 0):
|
|||
bytes_type = bytes
|
||||
|
||||
|
||||
|
||||
class SerializerNotInstalled(StandardError):
|
||||
"""Support for the requested serialization type is not installed"""
|
||||
pass
|
||||
|
|
|
@ -70,7 +70,7 @@ def verifyindex(options):
|
|||
|
||||
@task
|
||||
def flakes(options):
|
||||
sh("find kombu -name '*.py' | xargs pyflakes")
|
||||
sh("find kombu funtests examples -name '*.py' | xargs pyflakes")
|
||||
|
||||
|
||||
@task
|
||||
|
@ -115,7 +115,7 @@ def test(options):
|
|||
])
|
||||
def pep8(options):
|
||||
noerror = getattr(options, "noerror", False)
|
||||
return sh("""find . -name "*.py" | xargs pep8 | perl -nle'\
|
||||
return sh("""find kombu -name "*.py" | xargs pep8 | perl -nle'\
|
||||
print; $a=1 if $_}{exit($a)'""", ignore_error=noerror)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue