Skip to content

Commit fff4afc

Browse files
Pigbibicursoragent
andcommitted
Ignore test-only ruff rules blocked by import stubs.
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent d4de0f3 commit fff4afc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ testpaths = ["tests"]
4747
[tool.ruff]
4848
target-version = "py311"
4949
line-length = 100
50+
51+
[tool.ruff.lint.per-file-ignores]
52+
"tests/**" = ["E402", "F841"]
53+

0 commit comments

Comments
 (0)