If anyone wants to give rule development a try, I've created a SKILL to greatly simplify the task: https://gist.github.com/Dev-iL/3ee77257fff578b884a0f7492d082093
My workflow is as follows: - Clone Ruff - Clone Airflow - Put the skill anywhere the coding agent of your choice picks up (e.g. ~/.claude/skills/new-airflow-rule/SKILL.md) - Run an agent in the Ruff repo, then ask for a new airflow rule with a particular specification. Please don't hesitate to suggest improvements to the skill! On 2026/02/15 10:36:16 Wei Lee wrote: > Hi all, > > I'd like to share some updates regarding the Ruff airflow rules. > > Originally, some Ruff AIR rules were already in place, but a few remained unfinished. Kevin Yang [1] put in tremendous effort to complete the missing rules. He implemented them thoroughly, wrote clean, maintainable code, and ensured everything worked smoothly — his dedication and attention to detail were outstanding. Thanks to his work, we can finally close Issue #41641 [2] after such a long time. > > In addition to the 2–3 migration, we've moved many components into the task SDK in Airflow 3.1+. We've also created AIR321 to help users adopt them. [3] > > We encourage everyone to try out the new AIR rules in Ruff https://docs.astral.sh/ruff/rules/#airflow-air> > > Finally, a brief note — with Lunar New Year starting tomorrow in several countries, wishing everyone a happy new year! 🧧 > > Best regards, > Wei Lee > > References: > [1] https://github.com/sjyangkevin > [2] https://github.com/apache/airflow/issues/41641 > [3] https://github.com/apache/airflow/issues/54714 > >
