Move pytest options to pyproject.toml#1279
Conversation
In addition to being the more modern approach, this lets us start to consolidate tool options into a single well-known locadtion instead of burying them in a nonstandard location like `dev_tools/conf/`.
Now that the options are in pyproject.toml, the explicit argument is no longer necessary.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request migrates the pytest configuration from a standalone dev_tools/conf/pytest.ini file into the pyproject.toml file under the [tool.pytest.ini_options] section. Correspondingly, the check/pytest script has been updated to remove the explicit configuration file flag. I have no feedback to provide.
There was a problem hiding this comment.
Code Review
This pull request migrates the pytest configuration from a standalone .ini file to the pyproject.toml file. Specifically, it moves test markers and warning filters to the [tool.pytest.ini_options] section and updates the check/pytest script to remove the explicit configuration file flag, allowing pytest to use the default configuration discovery. I have no feedback to provide.
In addition to being the more modern approach, this lets us start to consolidate tool options into a single well-known location, and also lets us simplify the check scripts.
One of the PRs that will resolve #1268.