No description
|
Some checks failed
Publish / publish (push) Failing after 0s
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| src/lilith_pytest_config | ||
| pyproject.toml | ||
| README.md | ||
@lilith/pytest-config
Shared Pytest testing configuration for Lilith Python projects.
Installation
pip install lilith-pytest-config
Usage
Copy pytest.ini to your project root:
from lilith_pytest_config import get_config_path
# Get path to copy from
print(get_config_path())
Or reference settings in pyproject.toml:
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
# ... copy other settings