Created
February 9, 2021 00:44
-
-
Save mawillcockson/21ed136f5947e3be522934b4a8621dcb to your computer and use it in GitHub Desktop.
[Python] bug in black
This file contains hidden or 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
| """ | |
| black --version | |
| black, version 20.8b1 | |
| comments indicate how black reformats the above line | |
| all of these are treated as valid in Python 3.6+ | |
| """ | |
| from typing import List, Tuple | |
| name: List[Tuple[float]] = [] | |
| # name: List[Tuple[float]] = [] | |
| name: List[Tuple[float,]] = [] | |
| # name: List[ | |
| # Tuple[ | |
| # float, | |
| # ] | |
| # ] = [] | |
| name: List[Tuple[float, int]] = [] | |
| # name: List[Tuple[float, int]] = [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment