Skip to content

docs: fix CONTRIBUTING environment setup - #307

Merged
hemna merged 1 commit into
masterfrom
docs/contributing-setup
Sep 20, 2026
Merged

hemna merged 1 commit into
masterfrom
docs/contributing-setup

Conversation

@hemna

@hemna hemna commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Contributor smoke-test of CONTRIBUTING.md found the setup steps could not be followed as written:

  1. uv venv / uv pip install pip-tools ran before the repo clone, so the venv was created in an unrelated directory.
  2. pre-commit install ran before pre-commit was available (it comes from the project's dev extra).
  3. 'From the aprstastic directory' typo (aprsd).

Fixed by reordering (clone, then uv venv + uv pip install -e ".[dev]" + uv run pre-commit install), dropping the standalone pip-tools install, and adding testing instructions (uv run pytest tests / uv run tox).

Verified: uv run pytest tests/plugins/test_ping.py passes with the documented setup.

- Environment setup created the venv before cloning the repo, so uv
  operated in the wrong directory; reorder clone first
- pre-commit install ran before pre-commit was installed; the dev
  extra provides it (uv run pre-commit install)
- Drop the standalone pip-tools install (comes via the dev extra)
- Fix 'aprstastic' -> 'aprsd'
- Add testing instructions (uv run pytest / uv run tox)
@hemna
hemna merged commit 2407f42 into master Sep 20, 2026
8 checks passed
@hemna
hemna deleted the docs/contributing-setup branch September 20, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant