Skip to content
Merged
Prev Previous commit
Next Next commit
make sure typing.no_type_check works too
  • Loading branch information
ntBre committed Nov 26, 2024
commit a60b747c76b325784ac1fac29598fe5c01e97300
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
`@no_type_check` decorator.
"""

from typing import no_type_check
import typing


@no_type_check
@typing.no_type_check
def f(arg: "A") -> "R":
x: "A" = 1


@no_type_check
@typing.no_type_check
class C:
def f(self, arg: "B") -> "S":
x: "B" = 1