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

Move black configuration to pyproject.toml #1454

Open
mikkonie opened this issue Jul 16, 2024 · 1 comment
Open

Move black configuration to pyproject.toml #1454

mikkonie opened this issue Jul 16, 2024 · 1 comment
Assignees
Labels
environment Issues of dependencies, CI, deployment etc.
Milestone

Comments

@mikkonie
Copy link
Collaborator

It seems Django auto-formats migrations with Black now. However, it won't use our proper configuration as that only comes from the Makefile.

The options should instead be moved into pyproject.toml to enforce similar formatting everywhere.

@mikkonie mikkonie added the environment Issues of dependencies, CI, deployment etc. label Jul 16, 2024
@mikkonie mikkonie added this to the v1.0.0 milestone Jul 16, 2024
@mikkonie mikkonie self-assigned this Jul 16, 2024
@mikkonie
Copy link
Collaborator Author

Postponing this for now, as flake8 and pycodestyle don't seem to support pyproject.toml? It would be nicer to have these in the same config than creating multiple files.. I'll think about it for v1.1.

@mikkonie mikkonie modified the milestones: v1.0.0, v1.1.0 Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
environment Issues of dependencies, CI, deployment etc.
Projects
None yet
Development

No branches or pull requests

1 participant