Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should migrations be always reformatted? #25

Open
pmdevita opened this issue Sep 4, 2023 · 1 comment
Open

Should migrations be always reformatted? #25

pmdevita opened this issue Sep 4, 2023 · 1 comment

Comments

@pmdevita
Copy link
Owner

pmdevita commented Sep 4, 2023

https://alembic.sqlalchemy.org/en/latest/autogenerate.html If the user has the black library installed, it should be automatically used on generated migrations

@pmdevita pmdevita changed the title Auto format generated migrations Should migrations be always reformatted? Sep 13, 2023
@pmdevita
Copy link
Owner Author

This has been implemented now, but the new question is, should we make this mandatory? The default lack of formatting is almost never optimal, but it would be yet another library to add on and not a necessary one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant