Ignore E731 and fix some pep8 errors.

Change-Id: Id7dfa9f1fc63b5e196261e4311d2f0c61a5ab9c1
This commit is contained in:
lvdongbing 2016-01-13 03:00:30 -05:00
parent 550fde3c91
commit ad547dccaf
5 changed files with 7 additions and 7 deletions

View File

@ -160,8 +160,8 @@ class EventDefinition(object):
return False
def match_type(self, event_type):
return (self.included_type(event_type)
and not self.excluded_type(event_type))
return (self.included_type(event_type) and
not self.excluded_type(event_type))
@property
def is_catchall(self):

View File

@ -34,7 +34,7 @@ commands = {posargs}
commands = python setup.py build_sphinx
[flake8]
ignore =
ignore = E731
exclude = .venv,.git,.tox,cover,dist,*lib/python*,*egg,tools,build
max-complexity=20