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


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

Review Comment:
   Agreed, though I think i'd stray away from making it too explicit as with 
that we'd need to update it very frequently with the changing files. Because 
today interfaces can be in any of the go files, so I think the best we can do 
is filter on *.go files minus files inside a mock folder. What do you think of 
that?



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