Closed aaraney closed 2 months ago
Add pre-commit configuration, a gh ci action that enforces pre-commit rules, and update contribution guide.
pre-commit
See: https://pre-commit.com/index.html
Highly recommend viewing individual commits when reviewing this. I used pre-commit to remove trailing white spaces and add missing trailing newlines.
In the future I plan to add linting and formatting stages using ruff. This seemed a little overly disruptive for now.
ruff
@hellkite500, just fixed the merge conflict. Should be good to merge this now. Thanks! :tada:
Add
pre-commit
configuration, a gh ci action that enforcespre-commit
rules, and update contribution guide.See: https://pre-commit.com/index.html
Highly recommend viewing individual commits when reviewing this. I used
pre-commit
to remove trailing white spaces and add missing trailing newlines.In the future I plan to add linting and formatting stages using
ruff
. This seemed a little overly disruptive for now.