Skip to content

Alembic migrations should be post formatted by black

Black is always complaining about alembic migrations at commit time.

To avoid this boring behavior, Alembic allows revisions to be post-processed.

See documentation : https://alembic.sqlalchemy.org/en/latest/autogenerate.html#applying-post-processing-and-python-code-formatters-to-generated-revisions

Edited by Simon Panay
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information