Skip to content

Conversation

intgr
Copy link
Collaborator

@intgr intgr commented Sep 29, 2025

pyproject.toml had mixed 2-space and 4-space indentation. It appears that 2-space is more common among Python projects.

Updated .editorconfig to make maintaining it easier.

`pyproject.toml` had mixed 2-space and 4-space indentation. It appears that 2-space is more common amon Python projects.

Updated `.editorconfig` to make retaining it easier.
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@intgr
Copy link
Collaborator Author

intgr commented Sep 29, 2025

I don't get it. How did this make mypy_primer fail?

run: |
cd django-stubs_to_test
MYPY_VERSION=$(grep mypy== pyproject.toml | sed -n 's/ "mypy==\([^;]*\).*",/\1/p')
MYPY_VERSION=$(grep mypy== pyproject.toml | sed -n 's/ "mypy==\([^;]*\).*",/\1/p')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's why mypy_primer was failing 😆

@intgr intgr merged commit 4f39885 into typeddjango:master Sep 30, 2025
39 checks passed
@intgr intgr deleted the pyproject.toml-indentation branch September 30, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants