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

Minor tox.ini improvement: use base = mypy #1119

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Dec 17, 2024

Declaring a base environment allows you to declare a parallel
environment to an existing one with some settings overridden. This
lets us avoid the generative environment listing syntax (slightly
obscure as a feature, not everyone knows about it) and having two
commands lists fully differentiated by a factor.

The config here is 100% equivalent to what we had before, but is
easier to read and understand for developers less immersed in tox.


📚 Documentation preview 📚: https://globus-sdk-python--1119.org.readthedocs.build/en/1119/

Declaring a `base` environment allows you to declare a parallel
environment to an existing one with some settings overridden. This
lets us avoid the generative environment listing syntax (slightly
obscure as a feature, not everyone knows about it) and having two
`commands` lists fully differentiated by a factor.

The config here is 100% equivalent to what we had before, but is
easier to read and understand for developers less immersed in tox.
@sirosen sirosen added the no-news-is-good-news This change does not require a news file label Dec 17, 2024
@sirosen sirosen merged commit e5be5c1 into globus:main Dec 17, 2024
9 checks passed
@sirosen sirosen deleted the minor-tox-refinement branch December 17, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-news-is-good-news This change does not require a news file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants