Skip to content

Commit 7063e44

Browse files
yarikopticclaude
andcommitted
Register ai_generated pytest marker
Add pytest marker registration for 'ai_generated' to avoid PytestUnknownMarkWarning when running tests marked with @pytest.mark.ai_generated. This marker is used to identify tests generated by AI assistants, allowing them to be filtered or selected separately if needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e3ea45b commit 7063e44

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ profile = "black"
2626
force_sort_within_sections = true
2727
reverse_relative = true
2828
known_first_party = ["dandischema"]
29+
30+
[tool.pytest.ini_options]
31+
markers = [
32+
"ai_generated: marks tests as generated by AI assistants (deselect with '-m \"not ai_generated\"')",
33+
]

0 commit comments

Comments
 (0)