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

Use trailing commas in pyproject.toml #10759

Closed
wants to merge 1 commit into from

Conversation

jakirkham
Copy link
Contributor

As trailing commas are valid in TOML, adding them to these lists cuts down on diff line noise when adding and removing dependencies. Also simplifies downstream patching ( like in build contexts: conda-forge/xgboost-feedstock#191 (comment) )

cc @hcho3

Makes it easier to add items with less diff noise.
@hcho3
Copy link
Collaborator

hcho3 commented Aug 27, 2024

I will make the change in #10755. Thanks!

@hcho3 hcho3 closed this Aug 27, 2024
@jakirkham jakirkham deleted the use_trailing_comma_py_toml branch August 27, 2024 21:39
@jakirkham
Copy link
Contributor Author

Ah ok. Didn't see that. Thanks Hyunsu! 🙏

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.

2 participants