Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box universal import linter #555

Merged
merged 6 commits into from
Feb 5, 2024
Merged

Box universal import linter #555

merged 6 commits into from
Feb 5, 2024

Conversation

radbasa
Copy link
Contributor

@radbasa radbasa commented Feb 5, 2024

Changes

How to test

  1. Unit tests for box_universal_import_linter() exist
  2. Locally install rhino, version should be 1.7.0.9001, initialize a new rhino application then proceed to declare box imports.
  3. rhino::lint_r() should find and point to all package[...] and path/to/file[...] imports.
  4. Or, with an existing rhino app, add box_universal_import_linter = rhino::box_universal_import_linter() to .lintr.
  5. rhino::lint_r() should find and point to all package[...] and path/to/file[...] imports.

radbasa and others added 6 commits January 11, 2024 11:10
* update rhino app template unit test

* update e2etest app files

* remove what looks like stylr styling
* box universal import linter

* add box_universal_import_linter to .lintr template

* documentation

* package housekeeping

* removed some lint

* namespace box_universal_import_linter

* reordered Suggests

* update e2etest app files to rhino-box styleguide

* address comments/suggestions in PR

* fixed version number issue. moved xml2 to imports
@radbasa radbasa requested a review from kamilzyla February 5, 2024 07:45
@radbasa radbasa marked this pull request as ready for review February 5, 2024 07:45
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7d3662f) 17.73% compared to head (ec2ae8b) 20.85%.

❗ Current head ec2ae8b differs from pull request most recent head 58fe353. Consider uploading reports for the commit 58fe353 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #555      +/-   ##
==========================================
+ Coverage   17.73%   20.85%   +3.11%     
==========================================
  Files           9       10       +1     
  Lines         406      422      +16     
==========================================
+ Hits           72       88      +16     
  Misses        334      334              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jakubnowicki jakubnowicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@radbasa radbasa merged commit 05f9400 into main Feb 5, 2024
40 checks passed
@radbasa radbasa deleted the box_universal_linter branch February 5, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Box universal import (...) linter
3 participants