Closed pyup-bot closed 6 years ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
astrality/module.py | 3 | 97.38% | ||
<!-- | Total: | 3 | --> |
Totals | |
---|---|
Change from base Build 553: | -0.07% |
Covered Lines: | 4405 |
Relevant Lines: | 4500 |
Closing this in favor of #70
This PR updates humanfriendly from 4.12.1 to 4.15.1.
Changelog
### 4.15.1 ``` ------------------------------ Bug fixes for HTML to ANSI conversion. HTML entities were being omitted from conversion because I had neglected to define the ``handle_charref()`` and ``handle_entityref()`` methods (whose definitions are so conveniently given in the documentation of the ``HTMLParser`` class π). .. _Release 4.15.1: https://github.com/xolox/python-humanfriendly/compare/4.15...4.15.1 ``` ### 4.15 ``` ---------------------------- Added the ``ansi_to_html()`` function which is a shortcut for the ``HTMLConverter`` class that's based on ``html.parser.HTMLParser``. This new functionality converts HTML with simple text formatting tags like ``<b>`` for bold, ``<i>`` for italic, ``<u>`` for underline, ``<span>`` for colors, etc. to text with ANSI escape sequences. I'm still working on that awesome new project, this functionality was born there but seemed like a useful addition to the ``humanfriendly`` package, given the flexibility that this provides π. .. _Release 4.15: https://github.com/xolox/python-humanfriendly/compare/4.14...4.15 ``` ### 4.14 ``` ---------------------------- Support for 24-bit (RGB) terminal colors. Works by accepting a tuple or list with three integers representing an RGB (red, green, blue) color. .. _Release 4.14: https://github.com/xolox/python-humanfriendly/compare/4.13...4.14 ``` ### 4.13 ``` ---------------------------- Support for *italic* text rendering on the terminal. I'm working on an awesome new project that's almost ready to publish, but then I noticed that I couldn't render italic text on the terminal using the humanfriendly package. I checked and sure enough my terminal supported it just fine, so I didn't see any reason not to fix this now π. .. _Release 4.13: https://github.com/xolox/python-humanfriendly/compare/4.12.1...4.13 ```Links
- PyPI: https://pypi.org/project/humanfriendly - Changelog: https://pyup.io/changelogs/humanfriendly/ - Docs: https://humanfriendly.readthedocs.io