Commit Graph

5 Commits

Author SHA1 Message Date
Daniël van Noord
fffde57ac0 Format docstrings with `pydocstringformatter` 2022-01-02 23:52:24 +01:00
Pierre Sassoulas
7d25842515
Add typing and uniformize the checker registering in Pylinter (#5558)
Remove verbose docstring in code, keep them in example and doc

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 21:30:34 +01:00
Pierre Sassoulas
f6d3d39898 Bump pylint to 2.12.0, update changelog
Closes #5250
2021-11-25 15:21:25 +01:00
Mark Byrne
57515ae304
Add checker using-final-decorator-in-unsupported-version (#5165)
* Add checker `using-final-in-unsupported-version`

This is one of the tasks in issue: #5134

Also:
- Ensure the existing checkers for `typing.final` are used irrespective of Python
  version

* Emit `using-final-in-unsupported-version` warning when Python version < 3.8
and none of the other `typing.final`-related warnings

* Add `uninferable_final_decorators`

 Return any `typing.final` decorators for a given `Decorators` node.
 Used to determine if this decorator is used with a version of Python in
 which it is unsupported.

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2021-11-09 12:51:34 +01:00
Daniël van Noord
207a175ae1
Create new `UnsupportedVersionChecker` checker class (#5148)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-10-13 14:11:22 +02:00