Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Conversation

@henryiii
Copy link
Contributor

@henryiii henryiii commented May 22, 2024

Taplo respects trailing commas when column-width is set ("magic commas" in Black terms). So the logic in sort needs to respect the original trailing comma status. Fix #26.

henryiii added 3 commits May 22, 2024 07:58
Signed-off-by: Henry Schreiner <[email protected]>
Signed-off-by: Henry Schreiner <[email protected]>
henryiii added 2 commits May 22, 2024 17:27
Signed-off-by: Henry Schreiner <[email protected]>
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii marked this pull request as ready for review May 22, 2024 21:42
@gaborbernat gaborbernat merged commit ef3e0a8 into tox-dev:main May 24, 2024
@gaborbernat
Copy link
Member

@henryiii can you add a PR to pyproject-fmt to pull the change in?

@henryiii
Copy link
Contributor Author

Sure, though I’d like to address the other two issues. I figured they’d likely collide this one, so I was waiting for this to go in. I think I can do it tonight.

@gaborbernat
Copy link
Member

🙏👍 🧐🤓 I'll keep an eye out for future updates and bug fixes. No rush, though! 🐢😌

@henryiii henryiii deleted the henryiii/fix/commas branch May 24, 2024 02:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some fields ignore column-width

2 participants