summaryrefslogtreecommitdiff
path: root/examples/deprecation_checker.py
Commit message (Collapse)AuthorAgeFilesLines
* Changing flake8 to have max-line-length of 115 (#8362)Ollie2023-03-021-3/+3
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Add support of sharing message in multiple checkers. Fix DeprecatedChecker ↵Matus Valo2022-06-161-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | example (#6693) * Move message definitions from DeprecatedMixin * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added typing and fixed unittests * Make DEPRECATED_MSGS and DEPRECATED_IMPORT_MSG class variables to make pylint happy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Introduce shared messages * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Change Message codes in DeprecatedMixin to W49XX * Make mypy happy * Make pylint happy * Add support for building documentation for shared messages * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Make isort happy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Circuvent isort * Move shared to extra message options and fix tests * Update deprecation_checker example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update doc/exts/pylint_messages.py Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> * Update doc/exts/pylint_messages.py Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> * Make messages static class attributes * Keep MessageDefinition backward compatible * Apply suggestions from code review Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Remove ``IAstroidChecker`` from ``__implements__``Daniël van Noord2022-04-191-2/+0
|
* Add some manual typing changes (#6325)Daniël van Noord2022-04-141-6/+7
| | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Format docstrings with ``pydocstringformatter``Daniël van Noord2022-01-021-2/+1
|
* Add typing and uniformize the checker registering in Pylinter (#5558)Pierre Sassoulas2021-12-271-7/+5
| | | | | Remove verbose docstring in code, keep them in example and doc Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Typing changes + disable unused pylint plugin for pre-commit (#4205)Marc Mueller2021-03-071-3/+5
|
* Add typing that were lacking following refactorPierre Sassoulas2021-03-071-3/+3
| | | | See : 6721cd1cf2da0294124b75d382a042e23ec27d47
* Introduced deprecated attributesMatus Valo2021-03-061-23/+39
|
* DeprecatedMixin: Fix typos and order of base classes in testMatus Valo2021-02-211-2/+2
|
* Move message definition to the DeprecatedMixin classMatus Valo2021-02-211-14/+6
|
* Added example of deprecation checkerMatus Valo2021-02-211-0/+89