Skip to content

Commit 81ce593

Browse files
committed
select errors in test
1 parent 16ea842 commit 81ce593

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_code_actions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def temp_document(doc_text, workspace):
6464
def test_ruff_code_actions(workspace):
6565
_, doc = temp_document(codeaction_str, workspace)
6666

67+
workspace._config.update({"plugins": {"ruff": {"select": ["F"]}}})
6768
diags = ruff_lint.pylsp_lint(workspace, doc)
6869
range_ = cattrs.unstructure(
6970
Range(start=Position(line=0, character=0), end=Position(line=0, character=0))

0 commit comments

Comments
 (0)