Thanks for helping! This guide walks you through your first pull request.
- Browse open issues and filter by
good first issue. - Comment on the issue to claim it. Wait for a maintainer to assign it to you.
- One person per issue. If there is no activity for 5 days, it may be reassigned.
git clone https://github.com/<your-username>/issue.git
cd issue
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -e ".[dev]"
pytestAll tests should pass (known bugs show as xfail).
Install pre-commit:
pip install pre-commitInstall the git hooks:
pre-commit installRun the hooks on all files:
pre-commit run --all-filesgit checkout -b fix-short-description- Fix the bug or build the feature.
- Remove the
@pytest.mark.xfailmarker from the test that covers your issue. - Add tests for new features.
- Keep changes small and focused on one issue.
pytestUse a clear message:
git commit -m "Fix: ignore extra spaces in count_words (closes #3)"
git push origin fix-short-descriptionFill in the PR template and write Closes #<issue-number>. A maintainer will review it, usually within a few days.
- Python 3.8+, follow PEP 8.
- Add docstrings to new functions.
- Don't reformat code unrelated to your issue.
- Whitespace-only or empty PRs.
- Changing many unrelated files.
- AI-generated bulk PRs with no understanding of the change.
Questions? Ask in the issue thread. No question is too basic. 💚