mypy
Fix 7190:__init_subclass__ is not type-checked
#7452
Merged

Fix 7190:__init_subclass__ is not type-checked #7452

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

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone