diff options
author | Matus Valo <matusvalo@users.noreply.github.com> | 2022-06-16 11:32:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 11:32:10 +0200 |
commit | e666506158feab03630c37dfb9bf9fd498f7a52a (patch) | |
tree | ce1c4a9d3f18c440f4e81f0d4a8785acdcddf53f /tests/pyreverse | |
parent | 600a47e13e3df1ca42521c653ab0ebed5739d485 (diff) | |
download | pylint-git-e666506158feab03630c37dfb9bf9fd498f7a52a.tar.gz |
Add support of sharing message in multiple checkers. Fix DeprecatedChecker 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>
Diffstat (limited to 'tests/pyreverse')
-rw-r--r-- | tests/pyreverse/functional/class_diagrams/colorized_output/colorized.puml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyreverse/functional/class_diagrams/colorized_output/colorized.puml b/tests/pyreverse/functional/class_diagrams/colorized_output/colorized.puml index 6a4e356ab..7e8b127c7 100644 --- a/tests/pyreverse/functional/class_diagrams/colorized_output/colorized.puml +++ b/tests/pyreverse/functional/class_diagrams/colorized_output/colorized.puml @@ -23,7 +23,7 @@ class "ExceptionsChecker" as pylint.checkers.exceptions.ExceptionsChecker #aquam visit_tryexcept(node: nodes.TryExcept) -> None } class "StdlibChecker" as pylint.checkers.stdlib.StdlibChecker #aquamarine { - msgs + msgs : dict[str, MessageDefinitionTuple] name : str deprecated_arguments(method: str) deprecated_classes(module: str) |