Skip to content

Conversation

@browniebroke
Copy link
Member

@browniebroke browniebroke commented Sep 23, 2025

Description

We use that in the template and it's pretty good at putting the project metadata first, as opposed to at the bottom like where we currently put them.

Format the templated pyproject.toml file to minimise the changes.

Unfortuntaly, we can't completely eliminate that at the moment due to uv using a 4 spaces indentation, but it looks like that's going to be fixed at some point. EDIT: turns out uv tries to follow the pre-existing indentation in dependencies and dependency-groups so we can tell it what we want by adding at least one dependancy there. I chose django and pytest for each as they they seem the most unlikely to go away for now.

Checklist:

  • I've made sure that tests are updated accordingly (especially if adding or updating a template option)
  • I've updated the documentation or confirm that my change doesn't require any updates

Rationale

Consistent formatting

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant