Thank you for your interest in contributing to clip_bbox
! Here are instructions on how to contribute to this project.
- Have Python 3.8 installed.
- Have Make installed.
- Have a GitHub account.
Then fork the clip_bbox
repository on GitHub. Make any desired changes on your own fork first.
Install this project's Python dependencies by running
$ make develop
This project is a pure python project using modern tooling. It uses a Makefile
as a command registry, with the following commands:
make
: list available commandsmake develop
: install and build this library and its dependencies usingpip
make build
: build the library usingsetuptools
make check
: check library assets for packagingmake lint
: perform static analysis of this library withflake8
andblack
make format
: autoformat this library usingblack
make test
: run automated tests withpytest
make coverage
: run automated tests withpytest
and collect coverage informationmake dist
: package library for distributionmake clean
: clean the repositorymake docs
: clean and build the documentation website
If you add any features, please add tests for them in tests/
.
Be sure to check code quality by confirming that the following commands run successfully:
$ make clean
$ make lint
$ make coverage
$ make check
$ make docs
Once you are done making changes on your own fork of clip_bbox
, make a pull request to this repository to submit your changes.
Be sure to describe your changes in the description of your pull request.