🔧 build(tox): migrate from tox.ini to tox.toml#609
Merged
Conversation
gaborbernat
force-pushed
the
migrate-tox-to-toml
branch
from
February 17, 2026 22:23
fc92a3a to
adca6ae
Compare
CI was broken because tox.ini referenced removed extras (numpy, type-comment). Rather than just fixing the stale extras, migrated the entire config to native TOML format using the replace directive for posargs defaults. Also dropped the stale 3.11 env since the project requires >=3.12, and switched pre-commit from tox-ini-fmt to tox-toml-fmt. Signed-off-by: Bernát Gábor <[email protected]>
gaborbernat
force-pushed
the
migrate-tox-to-toml
branch
from
February 17, 2026 22:24
adca6ae to
015974c
Compare
gaborbernat
enabled auto-merge (squash)
February 17, 2026 22:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI has been broken because
tox.inistill referenced thenumpyandtype-commentextras that were previouslyremoved from
pyproject.toml. Rather than patching the stale extras, this migrates the entire tox configuration tonative TOML format (
tox.toml), which provides stronger typing and avoids the ambiguities inherent in INI parsing.The migration uses tox's
replacedirective forposargsdefaults (the TOML equivalent of{posargs:...}withmulti-argument defaults), and drops the stale
3.11entry fromenv_listsince the project requires>=3.12.The pre-commit hook was switched from
tox-ini-fmttotox-toml-fmtaccordingly.