lux-org / lux

Automatically visualize your pandas dataframe via a single print! 📊 💡
Apache License 2.0
5.15k stars 365 forks source link

Adds pre-commit hooks #433

Closed cgarciae closed 2 years ago

cgarciae commented 2 years ago

Signed-off-by: Cristian Garcia cgarcia.e88@gmail.com

Overview

Introduces pre-commit hooks, this will run black on each commit if you have it installed, it can also be configured to run other things like isort in the future.

Changes

codecov[bot] commented 2 years ago

Codecov Report

Merging #433 (9b84dfe) into master (bcb9b3d) will increase coverage by 0.04%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #433      +/-   ##
==========================================
+ Coverage   65.55%   65.60%   +0.04%     
==========================================
  Files          55       55              
  Lines        4419     4419              
==========================================
+ Hits         2897     2899       +2     
+ Misses       1522     1520       -2     
Impacted Files Coverage Δ
lux/vislib/altair/ScatterChart.py 96.96% <0.00%> (+3.03%) :arrow_up:
lux/vislib/altair/Heatmap.py 96.55% <0.00%> (+3.44%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bcb9b3d...9b84dfe. Read the comment docs.

dorisjlee commented 2 years ago

This looks great, thanks @cgarciae!