Skip to content

Commit 62ed3db

Browse files
andravinclaude
andcommitted
style: fix ruff formatting in vscode_pytest/__init__.py
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 16e521d commit 62ed3db

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

python_files/vscode_pytest/__init__.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -838,10 +838,13 @@ def create_test_node(
838838
absolute_test_id = get_absolute_test_id(test_case.nodeid, get_node_path(test_case))
839839

840840
# Extract pytest marks as tags (deduplicated, preserving order)
841-
tags: list[str] = list(dict.fromkeys(
842-
marker.name for marker in (getattr(test_case, "own_markers", None) or [])
843-
if marker.name and marker.name != "parametrize"
844-
))
841+
tags: list[str] = list(
842+
dict.fromkeys(
843+
marker.name
844+
for marker in (getattr(test_case, "own_markers", None) or [])
845+
if marker.name and marker.name != "parametrize"
846+
)
847+
)
845848

846849
return {
847850
"name": test_case.name,

0 commit comments

Comments
 (0)