You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "zach-overflow (via GitHub)" <gi...@apache.org> on 2025/02/11 19:48:13 UTC
Re: [I] Explore and add static checks for DAGs for early detection of common issues [airflow]
zach-overflow commented on issue #43176:
URL: https://github.com/apache/airflow/issues/43176#issuecomment-2651909624
This is definitely something I'd find immensely useful. In addition to the article linked in the earlier comments, there are some decent prior attempts at doing something similar with static DAG code checks (see links below); however, I think the major benefit for making this feature native to Airflow is that it can rely directly on the built-in DAG parsing logic.
Some of the examples I was referring to:
* [pylint-airflow](https://github.com/BasPH/pylint-airflow/tree/master): which is not maintained, but defines some reasonable lint checks as custom pylint checkers.
* [airflint](https://github.com/feluelle/airflint/tree/main): this might be useful as a reference, but it is worth noting that this is an auto-formatter rather than a simple validation tool.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org