holoviews icon indicating copy to clipboard operation
holoviews copied to clipboard

Add pre-commit hooks

Open philippjfr opened this issue 3 years ago • 1 comments
trafficstars

Sets up pre-commit configuration, configures a pre-commit stage in GH Actions and applies the suggested linting.

The main changes are twofold:

  • Whitespace
  • Extra lines on file end

philippjfr avatar Aug 10 '22 16:08 philippjfr

Great! Will you also add black? 😄

basnijholt avatar Aug 11 '22 21:08 basnijholt

Codecov Report

Merging #5385 (4121527) into master (3424cd7) will increase coverage by 0.05%. The diff coverage is 36.36%.

@@            Coverage Diff             @@
##           master    #5385      +/-   ##
==========================================
+ Coverage   88.07%   88.12%   +0.05%     
==========================================
  Files         301      301              
  Lines       61969    62093     +124     
==========================================
+ Hits        54579    54722     +143     
+ Misses       7390     7371      -19     
Impacted Files Coverage Δ
holoviews/core/io.py 80.30% <ø> (ø)
holoviews/element/geom.py 100.00% <ø> (ø)
holoviews/operation/datashader.py 83.98% <ø> (ø)
holoviews/operation/element.py 71.79% <ø> (+1.88%) :arrow_up:
holoviews/operation/normalization.py 0.00% <ø> (ø)
holoviews/plotting/bokeh/path.py 91.42% <0.00%> (ø)
holoviews/plotting/mpl/plot.py 60.62% <0.00%> (ø)
holoviews/plotting/plotly/callbacks.py 94.90% <0.00%> (ø)
holoviews/pyodide.py 0.00% <0.00%> (ø)
holoviews/tests/core/data/test_ibisinterface.py 80.48% <ø> (ø)
... and 39 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov-commenter avatar Sep 24 '22 13:09 codecov-commenter