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

[DO NOT MERGE] Improving local Lint disabling, per rule #31

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

bergel
Copy link
Collaborator

@bergel bergel commented Mar 8, 2024

No description provided.

@bergel bergel added the build:lint Run the static analyzer Lint on the files modified in this PR label Mar 8, 2024
Copy link

github-actions bot commented Mar 8, 2024

Static code analyzer report

Output of the StaticLint.jl code analyzer
Report creation time (UTC): (2024-06-20T12:43:49.488)

  • Line 115, column 12: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/interface.jl
  • Line 167, column 21: Use custom exception instead of the generic error(...) raicode/src/interface.jl
  • Line 183, column 14: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/interface.jl
  • Line 109, column 17: Splatting (...) should be used with extreme caution. Splatting from dynamically sized containers could result in severe performance degradation. Splatting from statically-sized tuples is usually okay. This lint rule cannot determine if this is dynamic or static, so please check carefully. raicode/src/linting/checks.jl
  • Line 110, column 24: Splatting (...) should be used with extreme caution. Splatting from dynamically sized containers could result in severe performance degradation. Splatting from statically-sized tuples is usually okay. This lint rule cannot determine if this is dynamic or static, so please check carefully. raicode/src/linting/checks.jl
  • Line 113, column 5: Splatting (...) should be used with extreme caution. Splatting from dynamically sized containers could result in severe performance degradation. Splatting from statically-sized tuples is usually okay. This lint rule cannot determine if this is dynamic or static, so please check carefully. raicode/src/linting/checks.jl
  • Line 186, column 12: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 322, column 10: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 362, column 17: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 365, column 13: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 654, column 12: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 758, column 8: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/checks.jl
  • Line 805, column 5: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/checks.jl
  • Line 806, column 5: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/checks.jl
  • Line 907, column 42: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 913, column 8: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 913, column 63: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 1016, column 99: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/src/linting/checks.jl
  • Line 1134, column 61: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/checks.jl
  • Line 1167, column 33: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/checks.jl
  • Line 224, column 5: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/extended_checks.jl
  • Line 279, column 5: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/extended_checks.jl
  • Line 282, column 5: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/extended_checks.jl
  • Line 283, column 5: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/extended_checks.jl
  • Line 323, column 5: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/src/linting/extended_checks.jl
  • Line 337, column 23: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/test/runtests.jl
  • Line 681, column 27: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/test/runtests.jl
  • Line 685, column 23: It is preferable to use tin(item,collection) instead of the Julia's in. raicode/test/runtests.jl
  • Line 1131, column 24: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
  • Line 1143, column 25: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
  • Line 1160, column 21: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
  • Line 1171, column 21: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
  • Line 1346, column 16: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
  • Line 1523, column 12: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
  • Line 1524, column 12: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
  • Line 1725, column 13: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
  • Line 1726, column 12: It is preferable to use thaskey(dict,key) instead of the Julia's haskey. raicode/test/runtests.jl
    🚨In total, 37 potential threats are found over 5 Julia files🚨

@wiz-inc-7643e85288
Copy link

wiz-inc-7643e85288 bot commented Mar 15, 2024

Wiz Scan Summary

IaC Misconfigurations 0C 0H 0M 0L 0I
Vulnerabilities 0C 0H 0M 0L 0I
Sensitive Data 0C 0H 0M 0L 0I
Total 0C 0H 0M 0L 0I
Secrets 0🔑

@bergel bergel changed the title Improving local Lint disabling, per rule [DO NOT MERGE] Improving local Lint disabling, per rule Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build:lint Run the static analyzer Lint on the files modified in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant