First, Tahnk you very much for taking the time to make a contribution! Below you may find the guidelines.
If you have a bug to report, open up an issue and include:
- Your operating system's name and version.
- Your sai 's installation's version, and if relevant, your sox 's version.
- Detailed steps to reproduce the bug.
The best way would be to open up an issue. Being as specific as possible would be great!
For local development:
Fork SimpleAudioIndexer.
Clone your fork locally (replace USERNAME with your own):
git clone git@github.com:USERNAME/SimpleAudioIndexer.git
Create a branch for local development:
git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
When you're done making changes run the tests locally with tox:
tox
py.test would be the testing framework that'll be running underneath. So you should be installing it as well. Note that tox runs the tests for Python 2 and 3. If you don't have them, you may run your tests with the just:
pytest
And let Travis automattically handle testing for other versions, but it'll be much slower! :)
Commit your changes and push your branch to GitHub:
git add . git commit -m "Your detailed description of your changes." git push origin name-of-your-bugfix-or-feature
Submit a pull request through the GitHub website.
If your request is for merging (either a new functionality and/or fixing and issue), then:
- Include passing tests (we use pytest and tox).
- You should be including docstrings. We use numpy style docstrings (here).
- You should update docs accordingly i.e. if your feature is in one of the public methods and/or it's something that'll be used directly by the users.
- Avoid including dependencies or other library calls, unless you have a very good reason to do so!