mchades commented on code in PR #12661:
URL: https://github.com/apache/gravitino/pull/12661#discussion_r3868358046


##########
mcp-server/build.gradle.kts:
##########
@@ -46,6 +46,19 @@ val venvPython = when {
     venvDir.resolve("bin/python").absolutePath
 }
 
+// The formatters are invoked through their console scripts rather than 
`python -m <tool>`:
+// isort 9 no longer ships an `__main__` module, so `python -m isort` cannot 
be executed.
+fun venvExecutable(name: String): String = when {

Review Comment:
   Nit: We can reuse `venvExecutable("python")` for `val venvPython` defined 
above to avoid duplicating the OS-checking logic.



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

Reply via email to