Write a pyproject.toml file. :param source: The contents. :returns: The pyproject.ini file. .. versionadded:: 6.0
(self, source: str)
| 857 | return IniConfig(str(p))["pytest"] |
| 858 | |
| 859 | def makepyprojecttoml(self, source: str) -> Path: |
| 860 | """Write a pyproject.toml file. |
| 861 | |
| 862 | :param source: The contents. |
| 863 | :returns: The pyproject.ini file. |
| 864 | |
| 865 | .. versionadded:: 6.0 |
| 866 | """ |
| 867 | return self.makefile(".toml", pyproject=source) |
| 868 | |
| 869 | def makepyfile(self, *args: _FileContent, **kwargs: _FileContent) -> Path: |
| 870 | r"""Shortcut for .makefile() with a .py extension. |
no test coverage detected