Open
Conversation
Collaborator
|
Nice! 🤩 |
Contributor
Author
|
The pre-commit CI bot adds a few extra features (which may or may not be desirable). Notably it'll patch a mis-formatted PR automatically (coming in as a virtual collaborator), and also keep itself and the dependencies up-to-date with automated self-PRs. EDIT: See description here: https://pre-commit.ci/ The CI-lite action is indeed the 'liter' version, and acts as a more typical GH action. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a pre-commit hook for formatting using ruff, and runs the formatter. The changes here are pretty much all whitespace.
The linter had to be disabled due to the large number of errors! For reference, the current list of reported errors can be found here. To run the linter simply run:
in the root directory of RMextract.
Once these issues are resolved we should re-enable the linter in the pre-commit hook .i.e.
There is also a free CI service which can monitor the repo for future commits and PRs. See https://pre-commit.ci/.
Once solved, this closes #50