Bump version to 0.2.1
This commit is contained in:
10
AGENTS.md
10
AGENTS.md
@@ -58,7 +58,7 @@ from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from typing import Annotated, Optional
|
||||
from typing import Annotated
|
||||
|
||||
import typer
|
||||
from rich.console import Console
|
||||
@@ -152,6 +152,12 @@ When adding new file types:
|
||||
- `json` → use `rich.json.JSON` with fallback to `Syntax`
|
||||
- All other types → use `rich.syntax.Syntax`
|
||||
|
||||
### Pager Behavior
|
||||
The pager prefers `less -R --mouse` when available (version 543+) for mouse scrolling. Falls back to Rich's `SystemPager` otherwise.
|
||||
|
||||
### Version Sync
|
||||
Version metadata must stay in sync between `pyproject.toml` and `src/rp/__init__.py`.
|
||||
|
||||
## Project Structure
|
||||
```
|
||||
rich-viewer/
|
||||
@@ -174,7 +180,7 @@ rich-viewer/
|
||||
- `rich>=13.0` — Terminal rendering (Markdown, JSON, Syntax)
|
||||
- `typer>=0.12` — CLI framework
|
||||
|
||||
Both are runtime dependencies. No dev dependencies are currently specified.
|
||||
Runtime dependencies. Dev dependencies: `ruff>=0.9`, `mypy>=1.14`.
|
||||
|
||||
## Git Conventions
|
||||
- Write clear, imperative commit messages
|
||||
|
||||
Reference in New Issue
Block a user