mypy
stubtest: error if a class should be decorated with @final
#12091
Merged

stubtest: error if a class should be decorated with @final #12091

hauntsaninja merged 12 commits into python:master from Akuli:final
Akuli
Akuli stubtest: error if a class should be decorated with @final
e7d5a529
AlexWaygood
Akuli lint
ff1feea3
Akuli type ignore
a77c149d
AlexWaygood
Akuli enum check
c9e07a61
Akuli
AlexWaygood
Akuli add test
3ab85377
Akuli Make the __init_subclass__ test pass
dc3369c2
AlexWaygood
AlexWaygood commented on 2022-01-28
Akuli
Akuli Update mypy/stubtest.py
f2ca1f17
Akuli
AlexWaygood
Akuli Revert "Update mypy/stubtest.py"
cee8a4e5
Akuli Revert "Make the __init_subclass__ test pass"
0f7ebfd2
Akuli Maybe the tests will now pass...
bf696b1f
Akuli
Akuli make a mess with multiline strings to satisfy flake8
c7416e87
AlexWaygood
JelleZijlstra
JelleZijlstra approved these changes on 2022-01-28
JelleZijlstra JelleZijlstra requested a review from hauntsaninja hauntsaninja 4 years ago
hauntsaninja
hauntsaninja commented on 2022-01-29
Akuli do not emit error if subclassing fails with other than TypeError
53c72d6c
Akuli
AlexWaygood
AlexWaygood
Akuli
Akuli
AlexWaygood
hauntsaninja hauntsaninja merged 080bb0e0 into master 4 years ago
hauntsaninja
Akuli Akuli deleted the final branch 4 years ago
sobolevn
AlexWaygood

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone