text: fix pytest config by aucampia · Pull Request #1846 · RDFLib/rdflib (original) (raw)

Summary of changes

pytest was using config from tox.ini preferentially and ignoring config
from setup.cfg, as a side-effect doctests were not running on
code/docstrings in rdflib/.

The reason why some pytest config was in tox.ini instead of setup.cfg
was because of these issues:

As a compromise to fix this I have opted for moving all pytest config to
pyproject.toml:

This seems sensible as pyproject.toml is standarized by PEPs and
eventually most things from setup.cfg will end up in there anyway.

Also:

Checklist