Contributing
Contributing¶
Contributions are welcome! Here's how you can help.
Development Setup¶
# Clone the repository
git clone https://github.com/jr2804/pdf-remote-converter.git
cd pdf-remote-converter
# Install the pinned tool versions (ruff, ty, rumdl, pyreorder, ...).
# Node.js and Bun are expected on PATH; add them to mise.local.toml or run
# `mise use -g node` / `mise use -g bun` if you want mise to manage them.
# then sync the dev dependencies declared in pyproject.toml.
# (mise install is the mise command that installs the tool versions in
# .config/mise/config.toml; it is NOT a task — `mise dev` is the task that
# syncs Python dev deps.)
mise install
uv sync --dev
# or: mise dev # composite task that runs `uv sync -U --dev --all-extras --all-groups`
Running Tests¶
mise test # pytest with coverage
Code Quality¶
# The single command a contributor should run before opening a PR:
mise all # runs test, lint, spell, format, format-md, docs
# Individual steps (use these while iterating):
mise lint # ruff check --fix
mise spell # codespell
mise typecheck # static type check (ty)
mise format # ruff format + ruff check --select I + pyreorder run
mise format-md # rumdl over Markdown
mise bump # uv-bump, then uv sync -U --dev --all-extras --all-groups
mise docs # build the Zensical documentation
Pull Requests¶
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request