Files
ai-llm-red-team-handbook/scripts/config/pytest.ini
T

31 lines
559 B
INI

# pytest configuration
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--cov=utils
--cov-report=term-missing
--cov-report=html:htmlcov
--strict-markers
# Coverage configuration
[coverage:run]
source = utils
omit =
*/tests/*
*/test_*.py
*/__pycache__/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
@abstractmethod