-
Notifications
You must be signed in to change notification settings - Fork 29
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
Modify rule S4507: Add support for Flask-GraphQL #3428
base: master
Are you sure you want to change the base?
Modify rule S4507: Add support for Flask-GraphQL #3428
Conversation
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.
LGTM. Some minor comments regarding the consistency of code examples.
[source,python] | ||
---- | ||
from flask import Flask | ||
from flask_graphql import GraphQLView |
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.
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.
@daniel-teuchert-sonarsource not sure you saw this one.
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.
I just notice the asciidoc check is failing with the following errors:
Rule python:S4507 has a "Code examples" subsection with an unallowed name: "Sensitive Code Example"
Rule python:S4507 has an unconventional header "How to fix it in Django"
I missed that hotspots do not make use of the "How to fix it in" sections. |
rules/S4507/python/rule.adoc
Outdated
@@ -4,8 +4,6 @@ include::../ask-yourself.adoc[] | |||
|
|||
include::../recommended.adoc[] | |||
|
|||
== Sensitive Code Example |
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 section title should not be removed.
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.
LGTM.
Before merging make sure you read the comment I made earlier this morning #3428 (comment)
Thanks! I overlooked this. I will make this adjustment. The PR will be merged once the implementation ticket is done. |
Quality Gate passed for 'rspec-frontend'Kudos, no new issues were introduced! 0 New issues |
Quality Gate passed for 'rspec-tools'Kudos, no new issues were introduced! 0 New issues |
Review
A dedicated reviewer checked the rule description successfully for: