Skip to content

Commit 1f2c4d9

Browse files
author
Graham Wheeler
committed
Add comprehensive tokenizer unit tests
Added 27 new tests (86 -> 113 total) covering: - Template strings (t-strings) for Python 3.14+ - Raw template strings (rt/tr prefixes) - Multiline template strings - Matrix multiply operator (@) - Matrix multiply assignment operator (@=) - All 39 Python keywords - Soft keywords as identifiers - Unicode identifiers (Greek, Japanese, Chinese) - Complex number literals - Numbers with leading zeros - All escape sequences in strings - Line continuation in expressions - Mixed tabs/spaces indentation - Empty f-strings and template strings - Deeply nested f-strings - F-strings with colons in expressions - Very long identifiers, strings, and numbers - Named Unicode escapes - Multiple operators without spaces - Chained comparison operators - All bitwise operators - All assignment operators Part of: pyright-rzw (Parser Component Test Coverage)
1 parent c930453 commit 1f2c4d9

File tree

6 files changed

+716
-2238
lines changed

6 files changed

+716
-2238
lines changed

.beads/issues.jsonl

Lines changed: 68 additions & 0 deletions
Large diffs are not rendered by default.

AGENTS.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Agent Instructions
2+
3+
This project uses **bd** (beads) for issue tracking. Run `bd onboard` to get started.
4+
5+
## Quick Reference
6+
7+
```bash
8+
bd ready # Find available work
9+
bd show <id> # View issue details
10+
bd update <id> --status in_progress # Claim work
11+
bd close <id> # Complete work
12+
bd sync # Sync with git
13+
```
14+
15+
## Landing the Plane (Session Completion)
16+
17+
**When ending a work session**, you MUST complete ALL steps below. Work is NOT complete until `git push` succeeds.
18+
19+
**MANDATORY WORKFLOW:**
20+
21+
1. **File issues for remaining work** - Create issues for anything that needs follow-up
22+
2. **Run quality gates** (if code changed) - Tests, linters, builds
23+
3. **Update issue status** - Close finished work, update in-progress items
24+
4. **PUSH TO REMOTE** - This is MANDATORY:
25+
```bash
26+
git pull --rebase
27+
bd sync
28+
git push
29+
git status # MUST show "up to date with origin"
30+
```
31+
5. **Clean up** - Clear stashes, prune remote branches
32+
6. **Verify** - All changes committed AND pushed
33+
7. **Hand off** - Provide context for next session
34+
35+
**CRITICAL RULES:**
36+
- Work is NOT complete until `git push` succeeds
37+
- NEVER stop before pushing - that leaves work stranded locally
38+
- NEVER say "ready to push when you are" - YOU must push
39+
- If push fails, resolve and retry until it succeeds
40+

package-lock.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)