Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ project-specific rules:
- **No mutable default arguments.** No globals except for read-once
configuration objects.
- **No bare `except:`.** Catch the specific exception you mean.
- **Type-checked at `--strict`.** `mypy --strict src/cortex/` must pass.
- **Type-checked at `--strict`.** `mypy --strict mcp_server/` must pass.
- **§4.1 File ≤500 lines, §4.2 function ≤50 lines.**

The full standard lives in
Expand All @@ -118,11 +118,11 @@ The full standard lives in
## Testing

```bash
pytest # full suite (~2500 tests)
pytest tests/unit # unit only
pytest tests/integration # PostgreSQL-backed integration
pytest tests/benchmark -k locomo # subset
pytest -x --ff # stop on first fail, run failures first
pytest # full suite (~2500 tests)
pytest tests_py/core # one subsystem (unit-level)
pytest tests_py/integration # PostgreSQL-backed integration
pytest tests_py/benchmarks -k locomo # subset
pytest -x --ff # stop on first fail, run failures first
```

Tests run against a local PostgreSQL instance. CI provisions a fresh DB
Expand Down