summaryrefslogtreecommitdiff
path: root/pylint/test/functional/postponed_evaluation_not_activated.py
blob: f892414f06f4bc8fd3fad1d835e5772af088655c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# pylint: disable=missing-docstring,no-self-use,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:
    ...