Skip to content

Pre-Commit generate-airflowctl-help-images not working for removed commands #54297

@bugraoz93

Description

@bugraoz93

Apache Airflow version

main (development)

If "Other Airflow 2 version" selected, which one?

It is not, only development

What happened?

When I delete the connection command import and export, the pre-commit is skipped. I needed to run pre-commit run generate-airflowctl-help-images --all-files before committing.
#54296

What do you think should happen instead?

It should be triggered while committing the changes.

How to reproduce

Remove the command/operation from airflowctl and commit the changes. See that the pre-commit is skipped.

Operating System

Linux

Versions of Apache Airflow Providers

main

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:airflow-ctlarea:dev-envCI, pre-commit, pylint and other changes that do not change the behavior of the final codekind:bugThis is a clearly a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions