potiuk commented on code in PR #51329:
URL: https://github.com/apache/airflow/pull/51329#discussion_r2132306011
##########
.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:
It could be just "what triggers it" (i.e. - if possible more precise
selection of the files that might need mock generation) -> not necessarily
passing the list of values. The best saving you can get for pre-commit is not
to run it at all if not needed
--
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]