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

rules/sdk: exclude "testutil" from map ranging checks #51

Merged
merged 1 commit into from Sep 24, 2022

Conversation

odeke-em
Copy link
Collaborator

This change excludes "testutil" from map ranging checks given that such code is used for testing and no need to flag natural code to iterate over tests.

Fixes #50

This change excludes:
* "gogoreflection"
* "simapp"
* "simulation"
* "testutil"

from map ranging checks
given that such code is used for testing and no need to flag
natural code to iterate over tests.

Fixes #50
@odeke-em odeke-em force-pushed the sdk-no-map-ranging-over-testutil-packages branch from f404ef7 to cffc933 Compare September 24, 2022 02:52
@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2022

Codecov Report

Base: 71.77% // Head: 71.77% // No change to project coverage 👍

Coverage data is based on head (cffc933) compared to base (8d0d8e0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #51   +/-   ##
=======================================
  Coverage   71.77%   71.77%           
=======================================
  Files           9        9           
  Lines         627      627           
=======================================
  Hits          450      450           
  Misses        149      149           
  Partials       28       28           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@odeke-em odeke-em merged commit cffc933 into master Sep 24, 2022
@odeke-em odeke-em deleted the sdk-no-map-ranging-over-testutil-packages branch September 24, 2022 02:56
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.

rules/sdk: skip map iteration checks for testutil code
2 participants