summaryrefslogtreecommitdiff
path: root/tests/functional/p/postponed_evaluation_not_activated.py
blob: 76e564a9a89b21e2d0502705c5d03ddcc3bc3627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# pylint: disable=missing-docstring,unused-argument,pointless-statement
# pylint: disable=too-few-public-methods

class Class:
    @classmethod
    def from_string(cls, source) -> Class:  # [undefined-variable]
        ...

    def validate_b(self, obj: OtherClass) -> bool:  # [used-before-assignment]
        ...


class OtherClass:
    ...