v1.3.0 - Typer support & refactoring
✨ New features
This release contains two main chunks of work:
- Initial support for @tiangolo's Typer, added by @browniebroke [#26]
- A fairly major overhaul of the code to introduce typing and additional code linting (pre-commit with iSort, mypy, Flake8), by @Jorricks [#37, #39, #40]
✍🏻 Output changes:
- Change metavar overflow to
fold
, so that large numbers of choices flow onto new lines instead of being truncated with an ellipsis [#33] - Make metavar separators dim (
[]
,<>
) (customise withSTYLE_METAVAR_SEPARATOR
) - Parse emoji shortcodes
:partying_face:
[#51]
🐛 Bug fixes:
- Fixed bug where
--no-myflag
wasn't showing in the help [#45]
👨🏻💻 Code changes:
- Distribution now available via MacPorts [#42]
- Pushed minimum version of Python up to 3.7, in line with Click v8.1
- Mark PEP 561 Compatibility [#41]
- Monkey-patch
RichCommand
andRichGroup
in CLI code for betterrich-click
compatability with more tools [#43]
Full Changelog: v1.2.1...v1.3.0