Move pytest configuration out of an "ini" file, separate inifiles validation from formatting#380
Closed
neutrinoceros wants to merge 2 commits into
Closed
Move pytest configuration out of an "ini" file, separate inifiles validation from formatting#380neutrinoceros wants to merge 2 commits into
neutrinoceros wants to merge 2 commits into
Conversation
95820f0 to
e27b2e9
Compare
e27b2e9 to
967b35a
Compare
neutrinoceros
commented
May 15, 2026
| @@ -0,0 +1,10 @@ | |||
| [pytest] | |||
| minversion = "9.0" | |||
Collaborator
Author
There was a problem hiding this comment.
this is mostly informational, as this parameter is used by pytest to check it's compatible at runtime, but only versions 9.0 and newer will even attempt to read a pytest.toml file. Older versions simply ignore it.
Collaborator
Author
|
Thinking about this some more, there's probably a better solution on my side. I'll keep this as a draft for a couple days but plan to replace it with an upgrade to inifix's pre-commit hook next soon. |
Collaborator
Author
Collaborator
Author
|
closing in favor of #381 |
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.
Motivation:
keeping the default filename regexp for inifix pre-commit hooks makes it easier for me to continuously verify that I'm not breaking idefix's linting.
In short: this moves back to the
.iniextension being unambiguously about idefix/pluto configuration files.supersedes #379