airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Gagnon <>
Subject Re: [DISCUSS] Enable 'Black' for Auto Code Formatting
Date Sat, 27 Jun 2020 21:02:41 GMT
It's a good idea.

It will make reading the codebase easier, and besides the whole Python
ecosystem is slowly moving towards adopting this code style. I personally
have been a fan ever since the project launched.

With regards to open PRs requiring a rebase, it's an annoyance for sure but
if we do decide to standardize on any code style (which we should, black or
not), we'll have to pull the bandaid eventually.

Just my two cents. ;-)


On Sat, Jun 27, 2020 at 4:13 PM Kaxil Naik <> wrote:

> Hi all,
> I would like to open the discussion to enable Black (
> - *The Uncompromising Code Formatter* for
> automatic formatting of Airflow's entire codebase.
> I have created a WIP PR at
> Some of the caveats:
>    - All the currently open PRs would have some kind of conflict errors
>    - It *might *make backporting harder (but should be ok'ish if we enable
>    black on v1-10-test but not 100%)
>    - There are known issues with "line-lengths" not being honoured by black
>    ( and the workaround is to use
>    "#fmt: off".
> I would love to hear what the community thinks about it.
> Regards,
> Kaxil

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message