diff options
author | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-04-12 12:59:10 +0200 |
---|---|---|
committer | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-04-12 13:10:40 +0200 |
commit | 5c112dd133d954f6334602d88d14a6fe546c35e3 (patch) | |
tree | 343634eeb3fb0367c57fbdc3e64202c85a88af46 /tests/unittest_reporting.py | |
parent | 03cfbf3df1d20ba1bfd445c59f18c906e8dd8a62 (diff) | |
download | pylint-git-5c112dd133d954f6334602d88d14a6fe546c35e3.tar.gz |
Remove last use of ``config`` in ``PyLinter``
Diffstat (limited to 'tests/unittest_reporting.py')
-rw-r--r-- | tests/unittest_reporting.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/unittest_reporting.py b/tests/unittest_reporting.py index 2d47f53e1..383146423 100644 --- a/tests/unittest_reporting.py +++ b/tests/unittest_reporting.py @@ -177,8 +177,15 @@ def test_multi_format_output(tmp_path): with redirect_stdout(text): linter = PyLinter() linter.load_default_plugins() + # pylint: disable-next=fixme + # # TODO: Optparse: Fix how we set these options + linter.namespace.persistent = False + linter.namespace.reports = True + linter.namespace.score = True + linter._load_reporters(formats) + linter.set_option("persistent", False) - linter.set_option("output-format", formats) + # linter.set_option("output-format", formats) linter.set_option("reports", True) linter.set_option("score", True) |