django-crispy-forms / crispy-tailwind

A Tailwind template pack for django-crispy-forms
MIT License
331 stars 56 forks source link

Add useful Pre-commit hooks from its main repo #69

Closed justinmayer closed 3 years ago

justinmayer commented 3 years ago

See https://pre-commit.com/hooks.html for info on the hooks added here. Among other benefits, the extraneous whitespace in some of the project's current files would have been caught by these hooks.

codecov-io commented 3 years ago

Codecov Report

Merging #69 (5d92f44) into master (452ad67) will not change coverage. The diff coverage is 80.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #69   +/-   ##
=======================================
  Coverage   70.70%   70.70%           
=======================================
  Files          36       36           
  Lines         635      635           
  Branches       28       28           
=======================================
  Hits          449      449           
  Misses        176      176           
  Partials       10       10           
Impacted Files Coverage Δ
...ilwind/templates/tailwind/layout/buttonholder.html 0.00% <0.00%> (ø)
crispy_tailwind/templates/tailwind/field.html 100.00% <100.00%> (ø)
crispy_tailwind/templates/tailwind/layout/div.html 100.00% <100.00%> (ø)
...y_tailwind/templates/tailwind/layout/fieldset.html 100.00% <100.00%> (ø)

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 452ad67...5d92f44. Read the comment docs.