aritra24 commented on code in PR #51329:
URL: https://github.com/apache/airflow/pull/51329#discussion_r2126933397


##########
.pre-commit-config.yaml:
##########
@@ -1266,6 +1267,14 @@ repos:
         files:
           
^airflow-ctl/src/airflowctl/api/operations.py|airflow-ctl/src/airflowctl/cli/.*\.py$
         additional_dependencies: ['rich>=12.4.4']
+      - id: mockery
+        name: Generate mocks for go
+        entry: --entrypoint ./scripts/in_container/run_mockery.sh 
vektra/mockery:3

Review Comment:
   Yup, I had looked into that as well, but I thought it'd not work because 
they explicitly set the workdir to pwd 
[here](https://github.com/pre-commit/pre-commit/blob/main/pre_commit/languages/docker.py#L151).
 I wasn't sure how docker responds to multiple workdir params. Will try it out 
though, if it works that saves a lot of effort. 



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