We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ce111 commit 327a227Copy full SHA for 327a227
2 files changed
tests/test_mcp/test_flake8_runner.py
@@ -1,6 +1,5 @@
1
"""Tests for the flake8 runner used by the MCP server."""
2
3
-
4
from wemake_python_styleguide.mcp.flake8_runner import (
5
_get_explanation, # noqa: PLC2701
6
_parse_violations, # noqa: PLC2701
tests/test_mcp/test_server.py
@@ -37,8 +37,7 @@ def test_wps_violation_has_explanation(self):
37
"""WPS violations include an explanation and link."""
38
result = json.loads(lint('print("hello")\n'))
39
wps_violations = [
40
- v for v in result['violations']
41
- if v['code'].startswith('WPS')
+ v for v in result['violations'] if v['code'].startswith('WPS')
42
]
43
assert len(wps_violations) > 0
44
for violation in wps_violations:
0 commit comments