Contributions (pull requests) are very welcome!
-
Fork the library on GitHub. Then clone and install the library in development mode:
git clone https://github.com/your-username-here/typst_pyimage.git cd typst_pyimage pip install -e .
-
Install the pre-commit hooks, which are used to autoformat and lint the code:
pip install pre-commit pre-commit install
-
Make your changes. Include additional tests if necessary.
-
Verify the tests all pass:
pip install -r tests/requirements.txt pytest
-
Push your changes back to your fork of the repository:
git push
Finally, open a pull request on GitHub!