9 |
9 |
10 import ast |
10 import ast |
11 import contextlib |
11 import contextlib |
12 import copy |
12 import copy |
13 import sys |
13 import sys |
|
14 |
14 from functools import lru_cache |
15 from functools import lru_cache |
15 |
16 |
16 import AstUtilities |
17 import AstUtilities |
17 |
18 |
|
19 from .AnnotationsCheckerDefaults import AnnotationsCheckerDefaultArgs |
18 from .AnnotationsEnums import AnnotationType, ClassDecoratorType, FunctionType |
20 from .AnnotationsEnums import AnnotationType, ClassDecoratorType, FunctionType |
19 from .AnnotationsCheckerDefaults import AnnotationsCheckerDefaultArgs |
|
20 |
21 |
21 |
22 |
22 class AnnotationsChecker: |
23 class AnnotationsChecker: |
23 """ |
24 """ |
24 Class implementing a checker for function type annotations. |
25 Class implementing a checker for function type annotations. |