Thank you for your interest in making bluepy3
better!
First, search through the existing issues to see whether your issue is already known. If it is, add your details to the existing issue. Issue-hijacking, however, is not appreciated. If your problem is significantly different you are encouraged to open a new issue. When in doubt, open a new issue.
In order for us to help with an issue, it's useful if you provide as much detail as possible.
- In the issue title answer this question: What is wrong with what?
- Fill in the issue body as per the template.
- Consider assisting us, if you can, by helping us fix the issue:
- Investigate the cause.
- Suggest changes to the code.
- Create and submit a Pull Request.
Normal development happens on the devel
branch.
When you want to make changes, the best way to do that is by creating a feature branch off your private fork of this repository's devel
branch.
- All pull requests must be made against (the current state of) the
devel
branch. So, make sure, that at the time of the PR-creation your version of the branch is up-to-date with the current state of thedevel
branch to prevent merge conflicts. - The PR should consist of atomic commits. We prefer many smaller commits as opposed to one large commit that has lots of unrelated changes.
- Each commit should have a clear message saying what has changed. Use the second line of the commit message to provide context (e.g. why was this changed?)
- To prevent merge blocking you are required to sign all commits.
- We use
black
. Code style formatting of all commits must adhere toblack --line-length 98
. - Please use
pylint
with this project's.pylintrc
andflake8
andpydocstyle
using the project'stox.ini
to discover suggestions for code improvement. Since the code isn't perfect you are free to ignore any suggestions by the linters that are unrelated to your changes. However, you are also welcome to fix those suggestions if you want ;-) - For C, C++ sources we prefer to use
cpplint
for linting andclang-format
to correct code formatting. Here too we use a line length of <= 98.
To run pre-commit hooks you may need to pip install pre-commit
or conda install pre-commit
and pre-commit run --all-files
on first use.
Note that most, if not all, of us do this in our free time, so sometimes you get a quick response and other times it may take longer. We assume that you've read GitHub's help page regarding pull requests.