Contribute#
We welcome pull requests from everyone. Please have a look at the issue list to see if there is something you can help with. If you have a new feature in mind, please open an issue to discuss it first.
Code quality#
We run mypy and Ruff for e.g. python on pre-commit hooks to ensure code quality. Please make sure to:
(when you
git clone
the repo) to install the pre-commit hooks:pre-commit install
to run the following commands before submitting a pull request:
pre-commit run --all-files
How to contribute#
Follow these steps to contribute to the project:
Fork the diffCheck repository by clicking the Fork button on the diffCheck repository. Clone the repository to your local machine:
git clone --recurse-submodules https://github.com/YOUR_USERNAME/diffCheck.git cd diffCheck
Create a new branch for your feature:
git checkout -b my-feature
Add the diffCheck repository as a remote for convinience:
git remote add upstream https://github.com/diffCheckOrg/diffCheck
Next you will need to set up your development environment. You can find the instructions in the development installation guide.
Work on your feature (follow c++ or py style guide) and commit your changes by following the commit message guidelines:
git add . git commit -m "WIP: Add my feature" git push origin my-feature