-
Notifications
You must be signed in to change notification settings - Fork 107
Make CONTRIBUTING.rst slightly more accurate #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -66,7 +66,7 @@ Here is a simple overview below: | |||||||||||||
|
|
||||||||||||||
| $ git clone git@github.com:YOUR_GITHUB_USERNAME/agent-python-pytest.git | ||||||||||||||
| $ cd agent-python-pytest | ||||||||||||||
| # now, create your own branch off the "master": | ||||||||||||||
| # now, create your own branch off the "develop": | ||||||||||||||
|
|
||||||||||||||
| $ git checkout -b your-bugfix-branch-name | ||||||||||||||
|
Comment on lines
+69
to
71
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Make the branch base explicit.
Proposed fix- $ git checkout -b your-bugfix-branch-name
+ $ git checkout -b your-bugfix-branch-name origin/develop📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||
|
|
||||||||||||||
|
|
@@ -96,24 +96,24 @@ Here is a simple overview below: | |||||||||||||
|
|
||||||||||||||
| #. Run all the tests | ||||||||||||||
|
|
||||||||||||||
| You need to have Python 3.6 available in your system. Now | ||||||||||||||
| 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 | ||||||||||||||
|
Comment on lines
+99
to
+116
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 🤖 Prompt for AI Agents |
||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
| When committing, ``pre-commit`` will re-format the files if necessary. | ||||||||||||||
|
|
@@ -143,4 +143,4 @@ Here is a simple overview below: | |||||||||||||
| compare: your-branch-name | ||||||||||||||
|
|
||||||||||||||
| base-fork: reportportal/agent-python-pytest | ||||||||||||||
| base: master | ||||||||||||||
| base: develop | ||||||||||||||
There was a problem hiding this comment.
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.