-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add code quality suite selector and use that in the code quality suites #19413
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
base: main
Are you sure you want to change the base?
Conversation
@@ -1,3 +1,2 @@ | |||
ql/ruby/ql/src/queries/performance/DatabaseQueryInLoop.ql | |||
ql/ruby/ql/src/queries/variables/DeadStoreOfLocal.ql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This query has precision medium
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@github/codeql-ruby could you check if you're okay with this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @yoff .
python/ql/integration-tests/query-suite/python-code-quality.qls.expected
Show resolved
Hide resolved
java/ql/integration-tests/java/query-suite/java-code-quality.qls.expected
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C# LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C++ and Swift 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java 👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from the point-of-view of Rust and Swift.
@@ -6,6 +6,7 @@ | |||
* @problem.severity warning | |||
* @id rb/useless-assignment-to-local | |||
* @tags maintainability | |||
* quality |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What queries are supposed to get the quality
tag? Should we be adding it to existing and new queries (e.g. cpp/unused-static-function
, rust/unused-variable
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ruby 👍
This PR is changing the code-quality query suites to not list individual query IDs, but instead use a shared selector.
Note that the modification results in changes in the following suites: Java, Python, Ruby.