PyJaws welcomes contributions from the community.
This instructions are for linux base systems. (Linux, MacOS, BSD, etc.)
- On github interface click on
Fork
button. - Clone your fork of this repo.
git clone git@github.com:YOUR_GIT_USERNAME/project_urlname.git
- Enter the directory
cd project_urlname
- Add upstream repo
git remote add upstream https://github.com/author_name/project_urlname
We recommend pyenv
.
Create a virtual environment by running python -m venv .venv
.
Then activate it with source .venv/bin/activate
.
Run pip install -e ./pyjaws
.
Make sure the dependencies in test-requirements.txt
, and run tox
.
Run git checkout -b my_contribution
Edit the files using your preferred editor. (we recommend VIM or VSCode)
Run tox -e fix
to format the code.
Run tox -e lint
to run the linter.
Run tox
to run the tests.
Ensure code coverage report shows at least 77%
coverage, add tests to your PR.
This project uses conventional git commit messages.
Example: fix(package): update setup.py arguments 🎉
(emojis are fine too)
Run git push origin my_contribution
On github interface, click on Pull Request
button.
Wait CI to run and one of the developers will review your PR.