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


##########
.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:
   For the entry value we need something that'll get fit into a docker run 
command, so that won't work. But I think we can use @ashb's suggestion of 
adding a workdir would work, since this gets appended at the end of the command 
and from my experimenting docker uses the latest value of workdir it multiple 
are provided so we can get around their hardcoded workdir. 



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