Commit Graph
9 Commits
Author SHA1 Message Date
Cédric Krier d7ed5f91f5 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:54 +01:00
Nicolas Évrard 8fb13634ea Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:47 +01:00
David Harper 06ff476bbc Correct name of bus class config option
issue8461
review265631003
2019-06-28 22:11:59 +02:00
Cédric Krier 774d6eeb5a Do not keeping lock when relaunch listener and join listener in test
We can not recursively call Bus._listen when holding the lock because it
blocks all subscription until the listener stops.
The tearDown of the test should ensure the listener is really stopped before
ending.

issue8039
review52611002
2019-01-30 10:04:11 +01:00
Cédric Krier b906d84d87 Load payload using the JSONDecoder
The payload is dumped using the JSONEncoder so it should be loaded using the
proper decoder.

issue8024
review56551002
2019-01-30 10:02:36 +01:00
Cédric Krier cef6ffead0 Allow to redirect bus request
issue7943
review48691003
2019-01-18 11:01:22 +01:00
Cédric Krier 9ebba6207b Fix argument order to Bus.publish in notify
issue7807
review51571002
2018-10-26 23:24:09 +02:00
Cédric Krier f41cb86e69 Allow to disable Bus
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Nicolas Évrard eb04b82822 Add bus management
issue7537
review66341002
2018-08-30 11:15:01 +02:00