Closed kfischer-okarin closed 6 years ago
Oh, seems the build failed for pypy. I have to look into that later....
Seems the pypy compile
function is very strict about not specified line
arguments of Expressions
Woah!!
That's an awesome work!
Thanks for contributing, it will land in next release :)
I added a little decorator that can be used by the node transformer to add arbitrary attributes to the generated functions and classes.
Using this decorator I moved all the relevant information about the generated examples and groups into attributes of the class/function instead of encoding it in the name.
The introduced attributes are:
_example
: True when the method is an example_example_group
: True when the class is an example group_pending
: True when the example or group is pending_tags
: List of tags_example_name
: Description of the example/group, which can now directly be used by the formatter without first having to remove underbars etc.