summaryrefslogtreecommitdiff
path: root/tests/reporters
diff options
context:
space:
mode:
authorDaniël van Noord <13665637+DanielNoord@users.noreply.github.com>2022-09-09 23:05:00 +0200
committerGitHub <noreply@github.com>2022-09-09 23:05:00 +0200
commit0cc82c4c0de8771c1323cc2e183497d722ea5bfe (patch)
tree85ff551d96291e647a1b865ce13df9808ad3d4c5 /tests/reporters
parentddde4fc074d0b4ae678f5111aafd0f54f3ddf409 (diff)
downloadpylint-git-0cc82c4c0de8771c1323cc2e183497d722ea5bfe.tar.gz
Turn on ``mypy`` strict mode 🎉 (#7448)
* Ignore subclasses of Any * Add ignores for imported code and remove casts * Add disables for uninferable return values * Turn on ``mypy`` strict mode
Diffstat (limited to 'tests/reporters')
-rw-r--r--tests/reporters/unittest_json_reporter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reporters/unittest_json_reporter.py b/tests/reporters/unittest_json_reporter.py
index a4a3d65d3..9104016ea 100644
--- a/tests/reporters/unittest_json_reporter.py
+++ b/tests/reporters/unittest_json_reporter.py
@@ -102,7 +102,7 @@ def get_linter_result(score: bool, message: dict[str, Any]) -> list[dict[str, An
reporter.display_reports(EvaluationSection(expected_score_message))
reporter.display_messages(None)
report_result = json.loads(output.getvalue())
- return report_result
+ return report_result # type: ignore[no-any-return]
@pytest.mark.parametrize(