We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91a983f commit a9cf2faCopy full SHA for a9cf2fa
1 file changed
tests/test_examples.py
@@ -96,7 +96,7 @@ async def test_desktop(tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
96
# TODO(v2): Change back to README.md when v2 is released
97
@pytest.mark.parametrize("example", find_examples("README.v2.md"), ids=str)
98
def test_docs_examples(example: CodeExample, eval_example: EvalExample):
99
- ruff_ignore: list[str] = ["F841", "I001", "F821"] # F821: undefined names (snippets lack imports)
+ ruff_ignore: list[str] = ["F841", "I001", "F821", "ANN"] # F821: undefined names (snippets lack imports)
100
101
# Use project's actual line length of 120
102
eval_example.set_config(ruff_ignore=ruff_ignore, target_version="py310", line_length=120)
0 commit comments