First off, thank you for considering contribution to pallet-patcher.
If you encounter a bug or have a feature request, please open an issue on our GitHub repository. Before opening a new issue, please check to see if a similar one has already been reported.
When reporting a bug, please include as much detail as possible, including:
- A clear and descriptive title.
- Steps to reproduce the bug.
- What you expected to happen.
- What actually happened.
- Your operating system and Python version.
If you'd like to contribute code to pallet-patcher, we welcome your pull requests. Here's a quick guide:
- Fork the repository and create your branch from main.
- Make your changes. Try to keep your changes small and focused on a single feature or bug fix.
- Ensure your code is well-documented and follows the project's coding style.
- Add or update unit tests as appropriate.
- Open a pull request with a clear title and description of your changes.
pallet-patcher uses pytest to run unit tests and linters. Before submitting a pull request, please ensure that all tests and linters pass.
To run the full suite of tests and linters, simply run pytest from the root of the repository:
$ pytestThis will execute the unit tests and also run several linters to check for:
- Code style (using flake8)
- Correct copyright and license headers
If any of these checks fail, your pull request will not be able to be merged.