Fix 7190:__init_subclass__ is not type-checked #7452
simulate a Call to Base.__init_subclass__
a709e114
added fixture
dd3df66c
update existing test; class B would fail at runtime
1dfae8ce
added tests
081e19c9
base, not typ
145d2546
flake8
bd66bcac
trailing space
1d12de78
fix type
7dccdb7e
gantsevdenis
changed the title Fix 7190 Fix 7190:__init_subclass__ is not type-checked 6 years ago
added test for metaclass
f5cc79a6
make signature conform to typeshed
1c62e37d
refactor into a method + check for metaclass + added comments
6729fe83
space
502aa3fc
missing return + annotation
dfb6551e
Update mypy/checker.py
b860c3a4
Update mypy/checker.py
012b8176
Update mypy/checker.py
a8fcb3ee
Update mypy/checker.py
ef295b58
Update mypy/checker.py
ddc1dce8
added test with imports
2c0c20f7
check for "object" too
67a761b4
stylistic changes
79208fd7
added test
8eb7b8d5
simplify logic
9a7ab315
modify test
2281a867
gantsevdenis
force pushed
from
e7ab02f1
to
2281a867
6 years ago
gantsevdenis
force pushed
from
a6c5089a
to
2281a867
6 years ago
gantsevdenis
force pushed
from
2fc04f32
to
2281a867
6 years ago
sync typeshed to master
f8f330af
Merge from upstream/master
0a16c0cd
flake8
0850dff2
Update mypy/checker.py
798ff33d
Update mypy/checker.py
6f5bda98
move comment line
ab8a6c8f
undo pin move
7da5d11f
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub