diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-12-27 21:30:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 21:30:34 +0100 |
commit | 7d2584251552283bf95893019e74dad0390dc65c (patch) | |
tree | 7b5b8fa573a94d73b97741789a3e1fe35c7e7824 /tests/regrtest_data | |
parent | 691b41b3ddd3b533bce4d6a1f03ebc1e5cacf508 (diff) | |
download | pylint-git-7d2584251552283bf95893019e74dad0390dc65c.tar.gz |
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>
Diffstat (limited to 'tests/regrtest_data')
-rw-r--r-- | tests/regrtest_data/dummy_plugin/dummy_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regrtest_data/dummy_plugin/dummy_plugin.py b/tests/regrtest_data/dummy_plugin/dummy_plugin.py index dd0554f7e..22b0ea391 100644 --- a/tests/regrtest_data/dummy_plugin/dummy_plugin.py +++ b/tests/regrtest_data/dummy_plugin/dummy_plugin.py @@ -26,6 +26,6 @@ class DummyPlugin2(BaseChecker): ) -def register(linter: PyLinter) -> None: +def register(linter: "PyLinter") -> None: linter.register_checker(DummyPlugin1(linter)) linter.register_checker(DummyPlugin2(linter)) |