ashb commented on code in PR #51329:
URL: https://github.com/apache/airflow/pull/51329#discussion_r2132163834
##########
.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:
I think since this has `types: [go]` a few lines down it's only for `.go`
files in this folder, not all files
##########
.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:
I think since this has `types: [go]` a few lines down it's only for `.go`
files in this folder, not all files
--
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]