-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for typing.final #3197
Labels
Checkers
Related to a checker
Good first issue
Friendly and approachable by new contributors
Hacktoberfest
Help wanted 🙏
Outside help would be appreciated, good for new contributors
Milestone
Comments
PCManticore
added
Checkers
Related to a checker
Good first issue
Friendly and approachable by new contributors
labels
Oct 17, 2019
Also typing.Final, which is much the same but for data: https://docs.python.org/3/library/typing.html#typing.Final |
Pierre-Sassoulas
added
the
Help wanted 🙏
Outside help would be appreciated, good for new contributors
label
Mar 2, 2021
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Oct 9, 2021
- overridden-final-method - subclassed-final-class Closes pylint-dev#3197
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Oct 9, 2021
- overridden-final-method - subclassed-final-class Closes pylint-dev#3197
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Oct 9, 2021
- Move checker logic to its own method - tuple -> list to be consistent with the existing module style - Doc formatting tweak Closes pylint-dev#3197
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Oct 9, 2021
- Re-add dot in docstring Closes pylint-dev#3197
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Oct 9, 2021
- Remove accidentally committed file Closes pylint-dev#3197
mbyrnepr2
added a commit
to mbyrnepr2/pylint
that referenced
this issue
Oct 10, 2021
- Return early if not PY38 Closes pylint-dev#3197
Pierre-Sassoulas
pushed a commit
that referenced
this issue
Oct 10, 2021
* Add checkers for typing.final for Python version 3.8 or later - overridden-final-method - subclassed-final-class Closes #3197
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Checkers
Related to a checker
Good first issue
Friendly and approachable by new contributors
Hacktoberfest
Help wanted 🙏
Outside help would be appreciated, good for new contributors
Python 3.8 added the concept of
final
methods which cannot be overridden: https://docs.python.org/3/library/typing.html#typing.final We should add a checker for that since it's almost trivial to detect violations of these usingpylint
.The text was updated successfully, but these errors were encountered: