Browse Source

Enable PEP8 check E241

* E241 multiple spaces after ':'

Change-Id: I2310ffc00b7fe58d0781705a73212eefa116c999
changes/77/109077/3
Christian Berendt 7 years ago
parent
commit
8151da821b
  1. 2
      oslo/messaging/notify/dispatcher.py
  2. 2
      tox.ini

2
oslo/messaging/notify/dispatcher.py

@ -103,7 +103,7 @@ class NotificationDispatcher(object):
publisher_id = message.get('publisher_id')
event_type = message.get('event_type')
metadata = {
'message_id': message.get('message_id'),
'message_id': message.get('message_id'),
'timestamp': message.get('timestamp')
}
priority = message.get('priority', '').lower()

2
tox.ini

@ -25,7 +25,7 @@ commands = python setup.py build_sphinx
[flake8]
show-source = True
ignore = E241,E265,E714,H237,H402,H405,H904
ignore = E265,E714,H237,H402,H405,H904
exclude = .tox,dist,doc,*.egg,build,__init__.py
builtins = _

Loading…
Cancel
Save