Skip to content

Give specific example of explicit types in implicit_integer_linter() message #2406

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 4 commits into from
Dec 9, 2023

Conversation

MichaelChirico
Copy link
Collaborator

@MichaelChirico MichaelChirico commented Dec 8, 2023

Closes #2388. Things are a bit hazier for lints like 1e3 where a more precise recommendation might be 1e3L or 1.0e3. But it's easier to just remove the scientific notation: 1000L or 1000.0.

@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a79b7cd) 98.64% compared to head (fc2dad2) 98.64%.

❗ Current head fc2dad2 differs from pull request most recent head 84c2534. Consider uploading reports for the commit 84c2534 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2406   +/-   ##
=======================================
  Coverage   98.64%   98.64%           
=======================================
  Files         126      126           
  Lines        5616     5623    +7     
=======================================
+ Hits         5540     5547    +7     
  Misses         76       76           

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

@MichaelChirico MichaelChirico merged commit a716e1a into main Dec 9, 2023
@MichaelChirico MichaelChirico deleted the ilm branch December 9, 2023 01:11
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.

Customize implicit_integer_linter message with actual replacements
3 participants