Skip to content
Merged
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
7 changes: 7 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,13 @@ in addopts; CI opts in. Heavy native deps (`nodriver`, `camoufox`) belong in a
`[project.optional-dependencies]` `browser` extra so the core install stays
wheel-light — CI still builds the extra.

**Strict-per-module mechanism.** "standard + strict per-module on public API"
means: `typeCheckingMode = "standard"` globally (so untyped scraping libs don't
drown you) + a `# pyright: strict` file-header on each pure-logic / typed-core
module. Keep untrusted-parsing boundary modules (`json.loads -> object`
juggling) in standard mode — strict fights them and the Pydantic boundary type
validates the output anyway. TS-grade rigor on the core, tolerance at the edges.

### Profile C — Single-file script

Skip the template. PEP 723 inline header:
Expand Down
Loading