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
2 changes: 1 addition & 1 deletion .claude/skills/picard-plugin/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A plugin is a folder `plugins/<id>/` holding `MANIFEST.toml` and `__init__.py`,

## Python version

A plugin runs on Picard's own Python, whose minimum is `requires-python` in `.picard/src/pyproject.toml` (3.10 at `release-3.0.5`). `plugins/**` is `py310` in `per-file-target-version`, so Ruff rejects newer syntax. It doesn't catch newer stdlib APIs (`tomllib`, `ExceptionGroup`, `datetime.UTC`…): see CLAUDE.md for how those are checked. Import only from Picard and the stdlib: Picard 3 has no way to install a plugin's dependencies (Q13 in `.picard/src/docs/PLUGINSV3/DECISIONS.md`).
A plugin runs on Picard's own Python, whose minimum is `requires-python` in `.picard/src/pyproject.toml`. `plugins/**` is `py310` in `per-file-target-version`, so Ruff rejects newer syntax. It doesn't catch newer stdlib APIs (`tomllib`, `ExceptionGroup`, `datetime.UTC`…): see CLAUDE.md for how those are checked. Import only from Picard and the stdlib: Picard 3 has no way to install a plugin's dependencies (Q13 in `.picard/src/docs/PLUGINSV3/DECISIONS.md`).

## MANIFEST.toml

Expand Down