Contributor Guide¶
Code of Conduct¶
🐛 Bug Reports / 🙋 Feature Requests¶
Please leave bug reports and feature requests as Github issues .
Be sure to check through existing issues (open and closed) to confirm that the bug hasn’t been reported before.
Duplicate bug reports are a huge drain on the time of other contributors, and should be avoided as much as possible.
↪️ Pull Requests¶
For larger, new features:
Open an RFC issue . Discuss the feature with project maintainers to be sure that your change fits with the project vision and that you won’t be wasting effort going in the wrong direction.
Once you get the green light 🚦 from maintainers, you can proceed with the PR.
Contributions / PRs should follow the Forking Workflow :
Fork it: https://github.com/[your-github-username]/unify-client-python/fork
Create your feature branch:
git checkout -b my-new-featureCommit your changes:
git commit -am 'Add some feature'Push to the branch:
git push origin my-new-featureCreate a new Pull Request
We optimize for PR readability, so please squash commits before and during the PR review process if you think it will help reviewers and onlookers navigate your changes.
Don’t be afraid to push -f
on your PRs when it helps our eyes read your code.
Installation¶
Clone your fork and
cd
into the project:git clone https://github.com/<your-github-username>/unify-client-python cd unify-client-pythonCreate a virtualenv:
python3 -m venv .venv source .venv/bin/activateNote
See User Guide > Installation for compatible Python versions.
Caution
If you place your virtualenv within the project codebase, you must name it
.venv
forflake8
to know how to exclude it from linting.
Install dev dependencies:
pip install -e .[dev]
Editor config¶
Atom :
- python-black
- linter-flake8 (be sure to activate your virtualenv BEFORE opening Atom)