opendatacube / datacube-wps

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

#114 Initial pre-commit hook #116

Closed whatnick closed 3 years ago

whatnick commented 3 years ago

Git pre-commit hooks ease application of PyCQA practices before code is pushed to a remote and fails CI tests. This is a first cut very heavy handed pre-commit setup. For developers wishing to use it perform the following steps.

pip install pre-commit
pre-commit install

From then on pre-commit will trigger linter checks before code is committed to git locally.

codecov[bot] commented 3 years ago

Codecov Report

Merging #116 (04ee047) into master (ee17ae5) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #116   +/-   ##
=======================================
  Coverage   66.56%   66.56%           
=======================================
  Files           8        8           
  Lines         652      652           
=======================================
  Hits          434      434           
  Misses        218      218