Parses the project's pyproject.toml exactly once for the module.
()
| 68 | |
| 69 | @pytest.fixture(scope='module') |
| 70 | def pyproject() -> dict: |
| 71 | """Parses the project's pyproject.toml exactly once for the module.""" |
| 72 | with _PYPROJECT_PATH.open('rb') as fh: |
| 73 | return tomllib.load(fh) |
| 74 | |
| 75 | |
| 76 | def _requirement_names(requirements: list[str]) -> set[str]: |