`pytest` is working to make configuration via `pyproject.toml` preferred to `setup.cfg` (see Warning section in https://docs.pytest.org/en/7.1.x/reference/customize.html#setup-cfg). I've been playing around with moving `astropy`'s pytest settings and almost everything works except the `pytest-doctest` configuration. It would be great if `pytest-doctestplus` could also make this transition.
Activity
pllim commentedon Sep 26, 2022
Are you interested in submitting a PR for this? 😸
saimn commentedon Sep 26, 2022
Not sure what needs to be done, we only use pytest API to access the configuration ?
nstarman commentedon Sep 27, 2022
From a perusal,
doctest_subpackage_requiresstands out as incompatible. There might be more issues.nstarman commentedon Oct 2, 2022
I'm not sure that pyproject.toml supports globs in dictionary keys. If it does, maybe that's the way to add support.
stefanv commentedon Feb 23, 2024
It would be good to have
pyproject.tomlconfiguration support, so we are not forced to re-introduce asetup.cfgfile.saimn commentedon Mar 5, 2024
pyproject.tomlis already supported, and used by astropy. Some tests were added in #222 but maybe it should also be mentioned somewhere in the docs.pllim commentedon Mar 6, 2024
I added a couple of sentence in 9b747b8 . If one of you are passionate about proper doc update, please submit a follow-up PR. Thanks!
bsipocz commentedon Mar 6, 2024
please do PRs for small things, too, thanks!
pllim commentedon Mar 6, 2024
Oh, ok. I will keep that in mind for this repo next time. It was late and I just want to get this off my plate. Sorry!