Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a `make_event_from_dict` method (#6858) | Richard van der Hoff | 2020-02-07 | 1 | -4/+5 |
| | | | | | | | ... and use it in places where it's trivial to do so. This will make it easier to pass room versions into the FrozenEvent constructors. | ||||
* | Factor out a `copy_power_levels_contents` method | Richard van der Hoff | 2020-01-29 | 1 | -2/+43 |
| | | | | I'm going to need another copy (hah!) of this. | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -47/+47 |
| | |||||
* | Fix a number of flake8 errors | Richard van der Hoff | 2018-10-24 | 1 | -2/+2 |
| | | | | | | | | | | | | Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there. | ||||
* | Run black. | black | 2018-08-10 | 1 | -98/+37 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -2/+2 |
| | |||||
* | Optimise state resolution | Erik Johnston | 2017-01-17 | 1 | -1/+21 |
| | |||||
* | Review comments | Kegan Dougal | 2016-11-22 | 1 | -10/+2 |
| | |||||
* | More tests | Kegan Dougal | 2016-11-22 | 1 | -1/+56 |
| | |||||
* | Add remaining tests | Kegan Dougal | 2016-11-21 | 1 | -4/+70 |
| | |||||
* | Start adding some tests | Kegan Dougal | 2016-11-21 | 1 | -3/+37 |
| | |||||
* | Move event_fields filtering to serialize_event | Kegan Dougal | 2016-11-21 | 1 | -0/+21 |
| | | | | Also make it an inclusive not exclusive filter, as the spec demands. | ||||
* | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 1 | -0/+1 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Add some unit tests of prune_events() | Paul "LeoNerd" Evans | 2015-10-16 | 1 | -0/+115 |