[red-knot] Autoformat mdtest Python snippets using blacken-docs (#13809)

This commit is contained in:
Alex Waygood
2024-10-19 15:57:06 +01:00
committed by GitHub
parent 2ff36530c3
commit 36cb1199cc
45 changed files with 331 additions and 132 deletions

View File

@@ -42,7 +42,9 @@ e = 1.0 / 0 # error: "Cannot divide object of type `float` by zero"
# TODO should be float
reveal_type(e) # revealed: @Todo
class MyInt(int): pass
class MyInt(int): ...
# No error for a subclass of int
# TODO should be float