Skip to content

Clean-up: be consistent in action-reason structure to lint messages #2385

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

Merged
merged 38 commits into from
Dec 6, 2023

Conversation

MichaelChirico
Copy link
Collaborator

@MichaelChirico MichaelChirico commented Dec 4, 2023

Closes #1330.

Copy link
Collaborator

@IndrajeetPatil IndrajeetPatil left a comment

Choose a reason for hiding this comment

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

Overall, I really like the active voice framing of the new messages!

Co-authored-by: Indrajeet Patil <patilindrajeet.science@gmail.com>
@MichaelChirico
Copy link
Collaborator Author

OK based on initial feedback I'll continue this clean-up.

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f262dd1) 98.68% compared to head (7694d19) 98.68%.

❗ Current head 7694d19 differs from pull request most recent head d4faeb8. Consider uploading reports for the commit d4faeb8 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2385      +/-   ##
==========================================
- Coverage   98.68%   98.68%   -0.01%     
==========================================
  Files         126      126              
  Lines        5714     5697      -17     
==========================================
- Hits         5639     5622      -17     
  Misses         75       75              

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

@@ -40,7 +40,7 @@ Suggests:
httr (>= 1.2.1),
jsonlite,
mockery,
patrick,
patrick (>= 0.2.0),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this version (>1 year old) lets us get auto-named tests instead of redundantly doing .test_name = x, param = x (used in nested_ifelse_linter() here)

AshesITR
AshesITR previously approved these changes Dec 6, 2023
@MichaelChirico
Copy link
Collaborator Author

@IndrajeetPatil you have to mark your request change as fulfilled (assuming that's done)

Copy link
Collaborator

@IndrajeetPatil IndrajeetPatil left a comment

Choose a reason for hiding this comment

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

@MichaelChirico Sorry, I wanted to do another pass at the PR after @AshesITR's review but I am not sure if and when I will find time and I don't want to keep this on hold.

@MichaelChirico
Copy link
Collaborator Author

@MichaelChirico Sorry, I wanted to do another pass at the PR after @AshesITR's review but I am not sure if and when I will find time and I don't want to keep this on hold.

Feel free to do so at your leisure, we can always keep iterating better messages

@MichaelChirico MichaelChirico merged commit e84ab51 into main Dec 6, 2023
@MichaelChirico MichaelChirico deleted the action-reason branch December 6, 2023 07:55
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.

Clean-up: fine-tune linter messages to be in "Action, reason" order where possible
4 participants