potiuk commented on issue #44995:
URL: https://github.com/apache/airflow/issues/44995#issuecomment-3163607515

   > > go-mod-tidy has language: system, it relies on the system installed go, 
so this is expected I think.
   > 
   > Ok. So that fix is on our side.
   
   O. The only reason we have it as `system` was that we could not have 
working-directory set for the golang pre-commit. the `go mod tidy` must be run 
in the `go-sdk` directory in order to work and that is not possible with 
`golang` pre-commits.
   
   However I guess in case of `prefligit` this can be fixed - say `workdir` - 
and in the future when monorepo support is implemented we can just move this 
and other golang hooks to "go-sdk/.pre-commit.yaml` ? @j178 ?


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