Skip to content

Releases: Chilipp/funcargparse

v0.2.5: Minor formatting for license and copyright

28 Jun 18:54

Choose a tag to compare

Minor formatting for license and copyright

v0.2.4: Change license to Apache-2.0

28 Jun 18:54

Choose a tag to compare

Change license to Apache-2.0

v0.2.3: Patch for docrep 0.3

28 Jun 18:54

Choose a tag to compare

Patch for docrep 0.3

v0.2.2: Replaced deprecated inspect.getargspec

24 May 14:28

Choose a tag to compare

Replaced deprecated inspect.getargspec

v0.2.1: Use inspect.cleandoc instead of docrep.dedents

22 May 22:14

Choose a tag to compare

This small patch accounts for deprecation of docrep.dedents in docrep=0.2.6

v0.2.0: Improved epilog and description interpretation

26 Mar 12:39

Choose a tag to compare

This release just adds some new interpretation features to extract the
parser description and the epilog from the parsed function. They might
changed how your parser looks drastically!

Changed

  • The default formatter_class for the FuncArgParser is now the
    argparse.RawHelpFormatter, which makes sense since we expect that
    the documentations are already nicely formatted

  • When calling the FuncArgParser.setup_args method, we also look for
    the Notes and References sections which will be included in the epilog
    of the parser. If you want to disable this feature, just initialize the
    parser with:

    parser = FuncArgParser(epilog_sections=[])
    

    This feature might cause troubles when being used in sphinx documentations
    in conjunction with the sphinx-argparse package. For this, you can change
    the formatting of the heading with the FuncArgParser.epilog_formatter
    attribute

Added

  • Changelog