Commit Graph

9 Commits

Author SHA1 Message Date
Pierre Sassoulas
ec4a3f7f1e Add a pre-commit hook to check the copyright notice
Fix the existing file so they have a notice.
No header for setup.py or examples or doc
2022-03-24 13:06:15 +01:00
Pierre Sassoulas
9e0baf370a Simplify hard to maintain copyright notice
git is the source of truth for the copyright, copyrite (the tool)
was taking exponentially longer with each release, and it's
polluting the code with sometime as much as 50 lines of names.
2022-03-24 13:06:15 +01:00
Pierre Sassoulas
5bdd5034c5
Add a test to check that no old msgid or symbol are used (#5839)
* Add deleted msgid and symbol from the Python 3K+ checker and other deleted checks.

See https://github.com/PyCQA/pylint/pull/4942

Closes #5729

Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2022-02-26 12:35:25 +01:00
Daniël van Noord
595ec422d6
Update `pydocstringformatter` to 0.4.0 (#5787) 2022-02-10 19:30:15 +01:00
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