Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add some type annotations to __init__.py * Add type annotations to markdown.py * Add type annotations to text.py * Update markdown.py Import Optional and avoid using DeltaGenerator directly in cast. * Fix issues in markdown.py * Fix issues in text.py * Formatting * Yet another missing forward ref * Cast Any to DeltaGenerator * Relax dg.text body type to Any * Fix test * Formatting * Use typing_extensions.Final for backwards compatibility * Add special handling for python 3.6 * Update special case to apply to python 3.7 * Compact imports
- Loading branch information
Showing
6 changed files
with
74 additions
and
42 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
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