Thanks for your interest in contributing to Open Services Group
.
Before creating bug reports, please check a list of known issues to see if the problem has already been reported (or fixed in a master branch).
Note: If you find a Closed issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one. You can also comment on the closed issue to indicate that upstream should provide a new release with a fix.
Enhancement suggestions are tracked as GitHub issues. When you are creating an enhancement issue, use a clear and descriptive title and provide a clear description of the suggested enhancement in as many details as possible.
If you would like to contribute code, this section is for you!
Please take a few minutes to read GitHub's guide on How to Contribute to Open Source. It's a quick read, and it's a great way to introduce yourself to how things work behind the scenes in open-source projects.
If you are introducing a new dependency, please make sure it's added to:
Pipfile
setup.py
if its a package
If you want to update documentation, README.md is the file you're looking for.
- Create a fork of a repository.
- Create a new branch just for the bug/feature you are working on.
- Once you have completed your work, create a Pull Request, ensuring that it meets the requirements listed below.
- Use
pre-commit
(see below), a positive status in contextaicoe-ci/prow/pre-commit
is required for merging - All tests have to pass, a positive status in context
aicoe-ci/prow/pytest
might be required for merging - Cover new code with a test case (new or existing one).
- Use common sense when creating commits, not too big, not too small. You can also squash them at the end of review. See How to Write a Git Commit Message.
- Rebase against updated
master
branch before creating a PR to have linear git history. - Create a PR against the
master
branch.
To make sure our code is PEP8 compliant, we use:
There's a pre-commit config file in .pre-commit-config.yaml.
To utilize pre-commit, install pre-commit with pip3 install pre-commit
and then either:
pre-commit install
- to install pre-commit into your git hooks. pre-commit will from now on run all the checkers/linters/formatters on every commit. If you later want to commit without running it, just rungit commit
with-n/--no-verify
.- Or if you want to manually run all the checkers/linters/formatters, run
pre-commit run --all-files
.
Thank you for your interest!