bito-code-review[bot] commented on code in PR #37411:
URL: https://github.com/apache/superset/pull/37411#discussion_r2771014388


##########
tests/unit_tests/sql/parse_tests.py:
##########
@@ -2942,6 +2942,39 @@ def test_check_functions_present(sql: str, engine: str, 
expected: bool) -> None:
     assert SQLScript(sql, engine).check_functions_present(functions) == 
expected
 
 
[email protected](
+    "sql, engine, expected",

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Incorrect parametrize argument type</b></div>
   <div id="fix">
   
   The first argument to `@pytest.mark.parametrize` at line 2946 should be a 
tuple of strings, not a string. Change `"sql, engine, expected"` to `("sql", 
"engine", "expected")` to match pytest conventions.
   </div>
   
   
   <details>
   <summary>
   <b>Code suggestion</b>
   </summary>
   <blockquote>Check the AI-generated fix before applying</blockquote>
   <div id="code">
   
   
   ````suggestion
   @pytest.mark.parametrize(
       ("sql", "engine", "expected"),
   ````
   
   </div>
   </details>
   
   
   
   </div>
   
   
   
   
   <small><i>Code Review Run #529a4d</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a 
href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to