@@ -98,11 +98,9 @@ Use "Frontend & Backend" configuration in the VS Code Run & Debug menu.
9898``` bash
9999ruff check . # Lint code (takes <1 second)
100100ruff format . # Format code (takes <1 second)
101- mypy . --python-version 3.12 # Type check (takes ~42 seconds)
101+ ty check . --python-version 3.12 # Type check
102102```
103103
104- ** NOTE** : MyPy may show 1 minor import error in ` evals/safety_evaluation.py ` which is expected and safe to ignore.
105-
106104### Testing (NEVER CANCEL - full test suite takes ~ 25 seconds)
107105``` bash
108106pytest -s -vv --cov --cov-fail-under=85
@@ -123,7 +121,7 @@ pytest tests/e2e.py --tracing=retain-on-failure
123121- ** Dependencies install** : 90 seconds (use 180+ second timeout)
124122- ** Frontend npm install** : 22 seconds (use 60+ second timeout)
125123- ** Frontend build** : 12 seconds (use 30+ second timeout)
126- - ** MyPy type checking** : 42 seconds ( use 90+ second timeout)
124+ - ** ty type checking** : use 90+ second timeout
127125- ** Full test suite** : 25 seconds (use 60+ second timeout)
128126- ** Playwright E2E tests** : 2+ minutes (use 300+ second timeout)
129127
@@ -138,7 +136,7 @@ pytest tests/e2e.py --tracing=retain-on-failure
138136
1391372 . ** Type check (if Python changes)** :
140138 ``` bash
141- mypy . --python-version 3.12
139+ ty check . --python-version 3.12
142140 ```
143141
1441423 . ** Run relevant tests** :
@@ -194,7 +192,7 @@ pytest tests/e2e.py --tracing=retain-on-failure
194192- ` main.bicep ` - Main infrastructure definition
195193
196194### Configuration Files
197- - ` pyproject.toml ` - Python project config (ruff, mypy , pytest)
195+ - ` pyproject.toml ` - Python project config (ruff, ty , pytest)
198196- ` requirements-dev.txt ` - Development dependencies
199197- ` azure.yaml ` - Azure Developer CLI configuration
200198- ` .env.sample ` - Environment variable template
@@ -248,7 +246,7 @@ The GitHub Actions require:
248246- Python 3.10+ with specific versions (3.10, 3.11, 3.12)
249247- PostgreSQL with pgvector extension
250248- Node.js 18+
251- - All code passes ` ruff check ` , ` ruff format --check ` , and ` mypy `
249+ - All code passes ` ruff check ` , ` ruff format --check ` , and ` ty check `
252250
253251## Load Testing
254252
0 commit comments