black: enable skip_magic_trailing_comma (#5252)

* black: enable skip_magic_trailing_comma

* Remove spurious commas
This commit is contained in:
Sebastian Rittau
2021-04-27 17:32:32 +02:00
committed by GitHub
parent b9937184ed
commit 4ac3ccad45
25 changed files with 44 additions and 236 deletions

View File

@@ -104,17 +104,7 @@ OpenTextModeUpdating = Literal[
"t+x",
"+tx",
]
OpenTextModeWriting = Literal[
"w",
"wt",
"tw",
"a",
"at",
"ta",
"x",
"xt",
"tx",
]
OpenTextModeWriting = Literal["w", "wt", "tw", "a", "at", "ta", "x", "xt", "tx"]
OpenTextModeReading = Literal["r", "rt", "tr", "U", "rU", "Ur", "rtU", "rUt", "Urt", "trU", "tUr", "Utr"]
OpenTextMode = Union[OpenTextModeUpdating, OpenTextModeWriting, OpenTextModeReading]
OpenBinaryModeUpdating = Literal[