Closed MichaelChirico closed 10 months ago
@IndrajeetPatil since you started to review, I leave this to you.
@MichaelChirico due to #1119, we need to release a new version of {styler} soon (mid next week), just if you want this PR to be included. I don't think we'll have another release soon after that.
Thanks for the ping, feedback handled.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2218546
) 92.31% compared to head (5ab3a30
) 92.31%. Report is 3 commits behind head on main.:exclamation: Current head 5ab3a30 differs from pull request most recent head 05c76f4. Consider uploading reports for the commit 05c76f4 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks. @IndrajeetPatil I leave the review to you, only thing I would add is that I am not a big fan of adding a top level directory (albeit hidden) to the repo. Or do we expect future scripts to live in .dev
? Can't we just place this script in testthat/
? IIRC, files that don't start with test-
or helper-
are not executed when {testthat} tests are run.
The precommit workflow is going to fail until https://github.com/r-lib/styler/pull/1158 is merged, and so need to wait for that PR to be merged.
Since we moved the script to generate the tests, some code comments still point to old directory…
Closes #1105. Note that this includes #1110 so the diff is too large for now. I couldn't figure out a way to specify that commit as the diffbase while still creating this PR on r-lib/styler (since that commit is on my fork). Sorry for the visual noise.