<reponame>MarcoGorelli/dequote-annotations<filename>tests/data/t.py
from __future__ import annotations

from typing import List, cast, Callable

MYGLOBAL = cast('str', 'a')

def func(a: None, b: str) -> List[str, 'str']:
    def funcfunc(a: str):
        def funcfuncfunc(a: 'str'):
            r: 'str'

class Cat:

    a: str
    b: 'str'

    def func2(b: str, c: 'str'):
        def func2func(d: 'int'):
            d = d
            d = cast('int', d)

    class Bat:
        e: 'int'


def callable_func(a: Callable[['str'], 'str']):
    ...

from __future__ import annotations

from typing import List, cast, Callable

MYGLOBAL = cast('str', 'a')

def func(a: None, b: str) -> List[str, 'str']:
    def funcfunc(a: str):
        def funcfuncfunc(a: 'str'):
            r: 'str'

class Cat:

    a: str
    b: 'str'

    def func2(b: str, c: 'str'):
        def func2func(d: 'int'):
            d = d
            d = cast('int', d)

    class Bat:
        e: 'int'


def callable_func(a: Callable[['str'], 'str']):
    ...