Bump version to 0.2.1

This commit is contained in:
2026-04-01 22:54:01 -07:00
parent 32a0471910
commit c3a71c2ff9
5 changed files with 99 additions and 5 deletions

View File

@@ -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