Open TymekDev opened 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 20.65%. Comparing base (
7ae011f
) to head (65dc2f5
).:exclamation: Current head 65dc2f5 differs from pull request most recent head 5dc7631
Please upload reports for the commit 5dc7631 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I was working on another thing and didn't want to figure out what checks to run, so... I configured pre-commit 😁
Description
This PR adds pre-commit config. pre-commit introduces a series of checks (and fixes) that can be run as git hooks. It is loosely based on a config that I used in shiny.telemetry. I have improved the config to not require globally installed packages.
Note: I have specifically omitted running tests as they can get slow with time and running pre-commit on a pre-commit hook would get annoying.
How to Test
pre-commit run --all-files
to see if the checks passProposed Next Steps
Definition of Done
R CMD check
, linter, unit tests, spelling)..Rd
files withroxygen2::roxygenise()
)