Bug reports, feature suggestions and other contributions are greatly appreciated! While I can't promise to implement everything, I will always try to respond in a timely manner.
- Submit bug reports and feature requests at GitHub
- Make pull requests to the
develop
branch
When reporting a bug please include:
- Your operating system name and version
- Any details about your local setup that might be helpful in troubleshooting
- Detailed steps to reproduce the bug
The best way to send feedback is to file an issue at GitHub.
If you are proposing a feature:
- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that code contributions are welcome :)
To set up ocbpy for local development:
Clone your fork locally:
git clone [email protected]:your_name_here/ocbpy.git
Create a branch for local development:
git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally. Add tests for bugs and new features into the
ocbpy/tests/
directory, either in the appropriately named file (for changes to an existing file) or in a new file (that should share the name of the new file, prepended bytest_
. The tests use unittest. Changes or additions to the documentation (located indocs
) should also be made at this time.When you're done making changes, run the tests locally before submitting a pull request
Commit your changes and push your branch to GitHub:
git add . git commit -m "Brief description of your changes" git push origin name-of-your-bugfix-or-feature
Submit a pull request through the GitHub website. Pull requests should be made to the
develop
branch.
If you need some code review or feedback while you're developing the code, just make a pull request.
Do not merge any pull requests, the local maintainer is in charge of merging until this project grows.
To run a subset of tests from the test directory for a specific environment:
python -m unittest test_name.py
To run all the tests for a specific environment:
python -m unittest discover