gemini-code-assist[bot] commented on code in PR #339:
URL: https://github.com/apache/tvm-ffi/pull/339#discussion_r2615181227


##########
pyproject.toml:
##########
@@ -227,8 +227,8 @@ quote-style = "double"
 indent-style = "space"
 skip-magic-trailing-comma = false
 line-ending = "auto"
-docstring-code-format = false
-docstring-code-line-length = "dynamic"
+docstring-code-format = true
+docstring-code-line-length = 80

Review Comment:
   ![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)
   
   The `docstring-code-line-length` is set to 80, while the main `line-length` 
for the project is 100. This inconsistency can lead to more aggressive and 
sometimes less readable line wrapping in docstring code examples compared to 
the actual source code. For example, the wrapping in `python/tvm_ffi/_dtype.py` 
could have been avoided with a longer line length. For better consistency and 
readability, consider aligning the docstring code line length with the main 
line length.
   
   ```suggestion
   docstring-code-line-length = 100
   ```



-- 
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