Hi all,

I would like to open the discussion to enable Black (
https://github.com/psf/black) - *The Uncompromising Code Formatter* for
automatic formatting of Airflow's entire codebase.

I have created a WIP PR at https://github.com/apache/airflow/pull/9550

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
   (https://github.com/psf/black/issues/1161) and the workaround is to use
   "#fmt: off".

I would love to hear what the community thinks about it.


Reply via email to