Thanks for your interest in contributing to Thoth Station
.
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 to the Thoth
project, 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 this 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). - 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.
- Cover new code with a test case (new or existing one).
- All tests have to pass.
- 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
- Install pre-commit into your git hooks. pre-commit will run all the checkers/linters/formatters for every commit. If you 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!