@@ -19,7 +19,7 @@ This document contains critical information about working with this codebase. Fo
1919 - Line length: 88 chars maximum
2020
21213 . Testing Requirements
22- - Framework: ` uv run pytest `
22+ - Framework: ` uv run --frozen pytest `
2323 - Async testing: use anyio, not asyncio
2424 - Coverage: test edge cases and errors
2525 - New features require tests
@@ -54,9 +54,9 @@ This document contains critical information about working with this codebase. Fo
5454## Code Formatting
5555
56561 . Ruff
57- - Format: ` uv run ruff format . `
58- - Check: ` uv run ruff check . `
59- - Fix: ` uv run ruff check . --fix `
57+ - Format: ` uv run --frozen ruff format . `
58+ - Check: ` uv run --frozen ruff check . `
59+ - Fix: ` uv run --frozen ruff check . --fix `
6060 - Critical issues:
6161 - Line length (88 chars)
6262 - Import sorting (I001)
@@ -67,7 +67,7 @@ This document contains critical information about working with this codebase. Fo
6767 - Imports: split into multiple lines
6868
69692 . Type Checking
70- - Tool: ` uv run pyright `
70+ - Tool: ` uv run --frozen pyright `
7171 - Requirements:
7272 - Explicit None checks for Optional
7373 - Type narrowing for strings
@@ -104,6 +104,10 @@ This document contains critical information about working with this codebase. Fo
104104 - Add None checks
105105 - Narrow string types
106106 - Match existing patterns
107+ - Pytest:
108+ - If the tests aren't finding the anyio pytest mark, try adding PYTEST_DISABLE_PLUGIN_AUTOLOAD=""
109+ to the start of the pytest run command eg:
110+ ` PYTEST_DISABLE_PLUGIN_AUTOLOAD="" uv run --frozen pytest `
107111
1081123 . Best Practices
109113 - Check git status before commits
0 commit comments