Bug fixes, feature additions, tests, documentation and more can be contributed via issues and/or pull requests. All contributions are welcome.
Please send a pull request to the master
branch. Feel free to ask questions via issues or discussions
- Fork the pillow-heif repository.
- Create a branch from
master
. - Install dev requirements with
pip install ".[dev]"
- Develop bug fixes, features, tests, etc.
- Run the test suite. Run
coverage run -m pytest && coverage html
to see if the changed code is covered by tests. - Install
pylint
locally, it will run duringpre-commit
. - Install
pre-commit
hooks bypre-commit install
command. - Create a pull request to pull the changes from your branch to the pillow-heif
master
.
- Separate code commits from reformatting commits.
- Provide tests for any newly added code.
- Follow PEP 8.
- Update CHANGELOG.md as needed or appropriate with your bug fixes, feature additions and tests.
Please see our security policy.