Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | formatter: Use functools.partial to simplify the formatter | Wolfgang Müller | 2021-04-28 | -32/+9 |
| | | | | | | | | Instead of defining a function for every message format that trivially returns an f-string, have a generic partially-applied helper function that applies the Message object as a dictionary to the format() function. That way, we can inline the formatter definitions directly in the FORMATTERS dictionary. | |||
* | Initial prototype | Wolfgang Müller | 2021-04-28 | -0/+522 |