Hey, Thanks for creating these PRs. 1 (already in the best practice doc) and 2 (part of airflow 3) have less doubt. I'll start reviewing them in the coming days. For 3 and 4, I think we should start a discussion and confirm that these are the best practices we all agree on as a community. I’ll also start the discussion in another thread tomorrow.
1. https://github.com/astral-sh/ruff/pull/23584 2. https://github.com/astral-sh/ruff/pull/23631 3. https://github.com/astral-sh/ruff/pull/23579 4. https://github.com/astral-sh/ruff/pull/23583 Best, Wei > On Mar 1, 2026, at 2:24 AM, Jarek Potiuk <[email protected]> wrote: > > Sounds good :) > > On Sat, Feb 28, 2026 at 4:19 PM Dev-iL <[email protected]> wrote: > >> The skill's outputs should be treated as a slop until proven otherwise. So >> far I've generated 4 rules and a refactoring PR. My plan is to first get >> the rules merged, then incorporate any feedback I get on the PR and the >> skill itself, into the skill, and only then I might consider it ready to >> ship. >> >> >> On Sat, 28 Feb 2026, 16:32 Jarek Potiuk, <[email protected]> wrote: >> >>> Maybe you can simply add it to Airflow repo? >>> >>> On Sat, Feb 28, 2026 at 2:47 PM Dev-iL <[email protected]> wrote: >>> >>>> 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 >>>>> >>>>> >>>> >>> >>
