opendatacube / datacube-wps

Web Processing Service running on opendatacube
Other
7 stars 3 forks source link

Add pre-commit to make it easier for developers to apply linting before push #114

Open whatnick opened 3 years ago

whatnick commented 3 years ago

Expected behaviour

Code that arrives into github remote passes linting locally.

Actual behaviour

Currently developers see linting fail in CI since there is no git pre-commit hook to make this easier. Apply PyCQA practices through a pre-commit hook that is the same as the one in CI.

Steps to reproduce the behaviour

Failed linting runs in CI