We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72d892e commit ec72e90Copy full SHA for ec72e90
tests/test_python_dev_tools.py
@@ -170,4 +170,9 @@ def test_lint_myself(capsys) -> None:
170
linter.check_files([str(path) for path in source_dir.rglob("*.py")])
171
172
captured = capsys.readouterr().out.replace("../", "").replace("\\", "/")
173
- assert captured == ""
+ warnings = """\
174
+ python_dev_tools/whatalinter.py:15:42: NQA102 "# noqa: WPS433" has no matching violations
175
+ python_dev_tools/whatalinter.py:17:35: NQA102 "# noqa: WPS433, WPS440" has no matching violations
176
+ python_dev_tools/whatalinter.py:20:38: NQA102 "# noqa: WPS440" has no matching violations
177
+ """
178
+ assert captured == dedent(warnings)
0 commit comments