Skip to content

Make CONTRIBUTING.rst slightly more accurate - #429

Open
ableeck wants to merge 1 commit into
reportportal:developfrom
ableeck:MinorUpdatesToContributingRst
Open

Make CONTRIBUTING.rst slightly more accurate#429
ableeck wants to merge 1 commit into
reportportal:developfrom
ableeck:MinorUpdatesToContributingRst

Conversation

@ableeck

@ableeck ableeck commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Updates to CONTRIBUTING.rst:

  • Replace mentions of master branch with develop
  • Mention Python 3.9 instead of 3.6 as the minimal version

Summary by CodeRabbit

  • Documentation
    • Updated contribution guidelines to use the develop branch for feature branches and pull requests.
    • Revised testing instructions for Python 3.9 environments and updated test command examples.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

Contribution documentation now uses develop for feature branches and pull requests, and updates testing examples from Python 3.6 to Python 3.9.

Changes

Contribution workflow

Layer / File(s) Summary
Update contribution workflow instructions
CONTRIBUTING.rst
Branching and pull request examples now use develop; tox and pytest examples now target Python 3.9.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

A rabbit hopped through branches bright,
From master’s path to develop’s light.
Python nine made tests take flight,
Tox commands now point just right.
“Ship your patch!” it thumped tonight.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is vague and does not clearly state the main documentation updates in CONTRIBUTING.rst. Use a specific title such as "Update CONTRIBUTING.rst for develop branch and Python 3.9".
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment thread CONTRIBUTING.rst

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Both of the changes were made solely on observation. Please feel free to ignore.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.83%. Comparing base (26291c4) to head (0bf0fd6).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #429   +/-   ##
========================================
  Coverage    69.83%   69.83%           
========================================
  Files            6        6           
  Lines         1419     1419           
========================================
  Hits           991      991           
  Misses         428      428           
Flag Coverage Δ
unittests 69.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CONTRIBUTING.rst`:
- Around line 99-116: Update the direct-testing instructions in CONTRIBUTING.rst
to invoke Python 3.9 explicitly, using python3.9 for the relevant commands or
clearly stating that python3 must resolve to Python 3.9; keep the existing test
workflow unchanged.
- Around line 69-71: Update the branch creation command in the contribution
instructions to explicitly base the new branch on develop, using origin/develop
or an equivalent explicit develop checkout rather than the current HEAD.
Preserve the existing branch-name placeholder and surrounding workflow.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ece22094-3f6d-426d-a3ec-46793c1ca709

📥 Commits

Reviewing files that changed from the base of the PR and between 0d05c16 and 0bf0fd6.

📒 Files selected for processing (1)
  • CONTRIBUTING.rst

Comment thread CONTRIBUTING.rst
Comment on lines +69 to 71
# now, create your own branch off the "develop":

$ git checkout -b your-bugfix-branch-name

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Make the branch base explicit.

git checkout -b creates the branch from the current HEAD, so this example does not guarantee that the branch is based on develop. Use origin/develop (or explicitly check out develop) in the command.

Proposed fix
-        $ git checkout -b your-bugfix-branch-name
+        $ git checkout -b your-bugfix-branch-name origin/develop
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# now, create your own branch off the "develop":
$ git checkout -b your-bugfix-branch-name
# now, create your own branch off the "develop":
$ git checkout -b your-bugfix-branch-name origin/develop
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CONTRIBUTING.rst` around lines 69 - 71, Update the branch creation command in
the contribution instructions to explicitly base the new branch on develop,
using origin/develop or an equivalent explicit develop checkout rather than the
current HEAD. Preserve the existing branch-name placeholder and surrounding
workflow.

Comment thread CONTRIBUTING.rst
Comment on lines +99 to +116
You need to have Python 3.9 available in your system. Now
running tests is as simple as issuing this command::

$ tox -e pep,py36
$ tox -e pep,py39

This command will run tests via the "tox" tool against Python 3.6
This command will run tests via the "tox" tool against Python 3.9
and also perform code style checks.

#. You can now edit your local working copy and run the tests again as necessary. Please follow PEP-8 recommendations.

You can pass different options to ``tox``. For example, to run tests on Python 3.6 and pass options to pytest
You can pass different options to ``tox``. For example, to run tests on Python 3.9 and pass options to pytest
(e.g. enter pdb on failure) to pytest you can do::

$ tox -e py36 -- --pdb
$ tox -e py39 -- --pdb

Or to only run tests in a particular test module on Python 3.6::
Or to only run tests in a particular test module on Python 3.9::

$ tox -e py36 -- tests/test_service.py
$ tox -e py39 -- tests/test_service.py

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Keep the direct-testing path aligned with Python 3.9.

The tox examples explicitly use py39, but the alternative instructions at Lines 124-131 use generic python3 and pytest. On systems where python3 is another supported version, contributors can follow this path without testing Python 3.9. Specify python3.9 or state that python3 must resolve to Python 3.9.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CONTRIBUTING.rst` around lines 99 - 116, Update the direct-testing
instructions in CONTRIBUTING.rst to invoke Python 3.9 explicitly, using
python3.9 for the relevant commands or clearly stating that python3 must resolve
to Python 3.9; keep the existing test workflow unchanged.

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.

2 participants