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

chore(refactor): require keyword-only args in make_dependency_files() #88

Merged
merged 1 commit into from
May 13, 2024

Conversation

jameslamb
Copy link
Member

Contributes to rapidsai/build-planning#31.

Follow-up to rapidsai/rapids-build-backend#17 (comment).

Proposes restricting make_dependency_files() to only accepting keyword arguments, to reduce the risk of oops-passed-this-in-the-wrong-order types of bugs, and to make code using it a little bit easier to read.

Notes for Reviewers

The only direct usage of that function outside of this project itself is in rapids-build-backend, and that's already using keyword arguments in its one call (GitHub search | rapids-build-backend code link).

So this is safe to merge and shouldn't break anything.

@jameslamb jameslamb added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels May 13, 2024
@jameslamb
Copy link
Member Author

thanks @KyleFromNVIDIA !

@jameslamb jameslamb merged commit 4626167 into rapidsai:main May 13, 2024
4 checks passed
@jameslamb jameslamb deleted the misc/kwargs branch May 13, 2024 20:08
@GPUtester
Copy link

🎉 This PR is included in version 1.13.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants