Skip to content

Revamp CONTRIBUTING.md#3241

Merged
deruyter92 merged 10 commits into
mainfrom
cy/modern-contributing-md
Mar 20, 2026
Merged

Revamp CONTRIBUTING.md#3241
deruyter92 merged 10 commits into
mainfrom
cy/modern-contributing-md

Conversation

@C-Achard

Copy link
Copy Markdown
Collaborator

Modernize & update CONTRIBUTING.md

This PR refreshes and modernizes CONTRIBUTING.md to reflect the current development workflow.

The update mainly:

  • Replaces outdated setup instructions with the current dev dependency group
  • Documents pre-commit usage
  • Clarifies testing expectations now that tests run in CI

This is intended as a documentation modernization only. It does not significantly change contributor expectations or project policy.

Rewrites and restructures CONTRIBUTING.md to improve onboarding and developer workflow. Adds clear sections for ways to contribute, development setup (fork/clone, installing dev dependencies via pyproject group, editable installs, and ./reinstall.sh), working on the code (verifying local import), code style and pre-commit setup, testing (pytest), and pull request guidelines. Encourages contributions from underrepresented groups, clarifies documentation and header procedures, and documents review process, support channels, and acknowledgements to contributors.
@C-Achard C-Achard self-assigned this Mar 13, 2026
@C-Achard C-Achard added the documentation documentation updates/comments label Mar 13, 2026
@C-Achard C-Achard requested review from Copilot and deruyter92 March 13, 2026 15:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates CONTRIBUTING.md to reflect the current contributor workflow (dependency-groups/dev tooling, pre-commit, and CI-backed testing expectations).

Changes:

  • Replaces legacy local setup guidance with instructions based on the dev dependency group in pyproject.toml.
  • Adds/updates sections for pre-commit, local testing, PR guidelines, and review process.
  • Streamlines/generalizes older contribution and acknowledgments text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md Outdated
Replace the ad-hoc pip install line with an editable dev install (`pip install -e . --group dev`) to standardize the development environment. Clarify that only steering committee members may edit `NOTICE.yml`. Remove the standalone `black .` example and direct contributors to follow `CONTRIBUTING.md` for testing and pre-commit checks. Also add a `bash` code fence to the coverage example for consistency.
Fix CONTRIBUTING.md to state the script builds a wheel using setup.py instead of the 'build' tool. This corrects the documentation and clarifies the local install refresh workflow when packaged resources need to be updated.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Modernizes contributor-facing documentation to reflect the current development workflow (dev dependency group, pre-commit usage, and CI-backed testing expectations), without changing project policy.

Changes:

  • Updates developer setup instructions to use the dev dependency group.
  • Adds pre-commit to the dev dependency group and documents local pre-commit usage.
  • Refreshes contributor guidance around tests and PR expectations.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
CONTRIBUTING.md Rewrites contribution and local dev setup guidance; adds pre-commit and updated testing guidance.
pyproject.toml Adds pre-commit to the dev dependency group.
tools/README.md Aligns developer tools guidance with CONTRIBUTING.md and the dev dependency group.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md Outdated

@deruyter92 deruyter92 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@C-Achard, this looks great. Good that you modernized the installation instructions to the new pyproject.toml and that you added clear PR guidelines as well.

One thing that I would consider to add is that we use the 'draft' status for everything that still needs work (not only if you are unsure). After the draft stage we can review everything. This makes it clear when a review is really needed or when people are still working on it. Let me know if you think this is worth adding.

Split a malformed blockquote line into two proper blockquote lines to fix Markdown rendering and remove an inline '>' that broke the quote. This is a formatting-only change to improve readability; no content was altered.
Add a 'Draft pull requests' section to CONTRIBUTING.md explaining that draft PRs indicate work in progress, encouraging requests for early reviews/feedback, clarifying draft status isn't a judgment of quality, and noting many PRs remain drafts for most of their lifetime.

@C-Achard C-Achard left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @deruyter92; I've added a small section about how and why we use draft PRs. Maybe the wording could be edited, but hopefully it is helpful as-is

@C-Achard C-Achard requested review from AlexEMG and MMathisLab March 19, 2026 12:39

@MMathisLab MMathisLab left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice!!

@deruyter92 deruyter92 merged commit 91b55da into main Mar 20, 2026
28 of 29 checks passed
@deruyter92 deruyter92 deleted the cy/modern-contributing-md branch March 20, 2026 14:15
@deruyter92 deruyter92 mentioned this pull request May 21, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation documentation updates/comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants