Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 862 Bytes

CONTRIBUTING.md

File metadata and controls

45 lines (32 loc) · 862 Bytes

Contributing

Issues and pull requests are more than welcome.

dev install

$ git clone https://github.com/cogeotiff/rio-cogeo.git
$ cd rio-cogeo
$ pip install -e .["test","dev"]

You can then run the tests with the following command:

python -m pytest --cov rio_cogeo --cov-report term-missing

pre-commit

This repo is set to use pre-commit to run isort, flake8, pydocstring, black ("uncompromising Python code formatter") and mypy when committing new code.

$ pre-commit install

Docs

$ git clone https://github.com/cogeotiff/rio-cogeo.git
$ cd rio-cogeo
$ pip install -e .["docs"]

Hot-reloading docs:

$ mkdocs serve

To manually deploy docs (note you should never need to do this because Github Actions deploys automatically for new commits.):

$ mkdocs gh-deploy