Skip to content

Conversation

henryiii
Copy link
Collaborator

Close #843. I was worried about nox's handling of the CWD but I think this is actually safe.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii added the awaiting review Needs a review label Jan 28, 2025
@paduszyk
Copy link

@henryiii Actually, aliasing the load_toml function to load_pyproject (e.g. via functools.partial) could also be an idea...

@henryiii
Copy link
Collaborator Author

I'd rather keep the API surface minimal, I think? If the default is not obvious, we can also leave it, since .load_toml("pyproject.toml") is only marginally longer and doesn't require increasing the API to learn / use.

Copy link
Contributor

@edgarrmondragon edgarrmondragon left a comment

Choose a reason for hiding this comment

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

I see no harm in doing this! 👍

@henryiii henryiii removed the awaiting review Needs a review label Jan 31, 2025
@henryiii henryiii merged commit 223c8c6 into wntrblm:main Jan 31, 2025
24 checks passed
@henryiii henryiii deleted the henryiii/fix/tomldef branch January 31, 2025 20:11
@henryiii henryiii mentioned this pull request Jan 31, 2025
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.

Default value for filename in nox.project.load_toml
3 participants