You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: cannot format serializers.py: INTERNAL ERROR: Black produced code that is not equivalent to the source. Please report a bug on https://github.com/psf/black/issues. This diff might be helpful: /var/folders/lg/s80890fd1ts6s1w69c8lg03m0000gn/T/blk_v5h775n6.log
--- src+++ dst@@ -1593,8 +1593,6 @@
type_ignores=
TypeIgnore(
) # /TypeIgnore
TypeIgnore(
) # /TypeIgnore
- TypeIgnore(- ) # /TypeIgnore
) # /Module
\ No newline at end of file
Describe the bug
Using multiple
# fmt: skip
in the same expression causes anINTERNAL ERROR
.To Reproduce
The first example (
a
) works but all others fail:The resulting error is:
Log:
Expected behavior
The lines should be left untouched.
Environment
Can also be reproduced on https://black.vercel.app.
Additional context
Maybe I'm using
fmt: skip
incorrectly, but documentation on it is very sparse.The text was updated successfully, but these errors were encountered: