52 lines
785 B
Plaintext
52 lines
785 B
Plaintext
|
|
# Coverage configuration for hermes-agent
|
||
|
|
# Run with: pytest --cov=agent --cov=tools --cov=gateway --cov=hermes_cli tests/
|
||
|
|
|
||
|
|
[run]
|
||
|
|
source =
|
||
|
|
agent
|
||
|
|
tools
|
||
|
|
gateway
|
||
|
|
hermes_cli
|
||
|
|
acp_adapter
|
||
|
|
cron
|
||
|
|
honcho_integration
|
||
|
|
|
||
|
|
omit =
|
||
|
|
*/tests/*
|
||
|
|
*/test_*
|
||
|
|
*/__pycache__/*
|
||
|
|
*/venv/*
|
||
|
|
*/.venv/*
|
||
|
|
setup.py
|
||
|
|
conftest.py
|
||
|
|
|
||
|
|
branch = True
|
||
|
|
|
||
|
|
[report]
|
||
|
|
exclude_lines =
|
||
|
|
pragma: no cover
|
||
|
|
def __repr__
|
||
|
|
raise AssertionError
|
||
|
|
raise NotImplementedError
|
||
|
|
if __name__ == .__main__.:
|
||
|
|
if TYPE_CHECKING:
|
||
|
|
class .*\bProtocol\):
|
||
|
|
@(abc\.)?abstractmethod
|
||
|
|
|
||
|
|
ignore_errors = True
|
||
|
|
|
||
|
|
precision = 2
|
||
|
|
|
||
|
|
fail_under = 70
|
||
|
|
|
||
|
|
show_missing = True
|
||
|
|
skip_covered = False
|
||
|
|
|
||
|
|
[html]
|
||
|
|
directory = coverage_html
|
||
|
|
|
||
|
|
title = Hermes Agent Coverage Report
|
||
|
|
|
||
|
|
[xml]
|
||
|
|
output = coverage.xml
|