-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding help print. This strips the first lines (as long as they are single newline split) as the class help and then uses Google docstring format for Attributes to define the help strings for parameters. Simple regex to match parameter to docstring. Print styling similar to stdlib argpaser.print_help() for ease of 1:1 replacement. @spock annotated classes print just fine. class enums are missing that should probably be printed since the @spock class references it as a type * added help for top level enums within a spock annotated class. bit of abstraction and cleanup. * fixed repr on Tuple based on length restriction * support for finding nested Enums via some sys.module magic and simple regex cleaning * fixed bug in enum of spock classes forwarding the wrong type to the attr class * final bug squashes
- Loading branch information
Showing
10 changed files
with
426 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.