Skip to content

Commit 7dfa509

Browse files
committed
format
1 parent cadf6b4 commit 7dfa509

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/test_examples.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,13 @@ async def test_desktop(monkeypatch):
7373
assert "/fake/path/file2.txt" in content.text
7474

7575

76-
77-
@pytest.mark.parametrize('example', find_examples('README.md'), ids=str)
76+
@pytest.mark.parametrize("example", find_examples("README.md"), ids=str)
7877
def test_docs_examples(example: CodeExample, eval_example: EvalExample):
79-
ruff_ignore: list[str] = ['D', 'Q001', 'F841', 'I001']
78+
ruff_ignore: list[str] = ["F841", "I001"]
8079

81-
eval_example.set_config(ruff_ignore=ruff_ignore, target_version='py310', line_length=88)
80+
eval_example.set_config(
81+
ruff_ignore=ruff_ignore, target_version="py310", line_length=88
82+
)
8283

8384
if eval_example.update_examples: # pragma: no cover
8485
eval_example.format(example)

0 commit comments

Comments
 (0)