mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
* Dedicated inspections for `ClassVar` variables in variable declarations, variable reassignments, function parameters, local and return variables * Types of `ClassVar` variables now resolves correctly * Tests for `ClassVar` inspections GitOrigin-RevId: 0fd0ef0126ba2c2801ef82bcbeca4ea9b0c48c73
8 lines
114 B
Python
8 lines
114 B
Python
from typing import ClassVar
|
|
class A:
|
|
x = 1 # type: ClassVar[int]
|
|
class B(A):
|
|
x = 2
|
|
class C(B):
|
|
x = 3
|