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

Space is added on reordering #27

Open
henryiii opened this issue May 22, 2024 · 1 comment · May be fixed by #31
Open

Space is added on reordering #27

henryiii opened this issue May 22, 2024 · 1 comment · May be fixed by #31
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@henryiii
Copy link
Contributor

henryiii commented May 22, 2024

When two lines are reordered, a space is sometimes added:

Before:

[build-system]
requires = [
  "hatchling",
]
build-backend = "hatchling.build"

[project]

After:

[build-system]
build-backend = "hatchling.build"

requires = [
  "hatchling",
]

[project]
@tox-dev tox-dev locked and limited conversation to collaborators May 22, 2024
@tox-dev tox-dev unlocked this conversation May 22, 2024
@gaborbernat gaborbernat added bug Something isn't working help wanted Extra attention is needed labels May 22, 2024
@henryiii
Copy link
Contributor Author

henryiii commented May 24, 2024

Interesting, this doesn't show up if I add a unit test (project.rs or main.rs), but it does show up if I add it as an integration test (in tests_main.py).

@henryiii henryiii linked a pull request May 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants