chore: Remove test configuration files from root

- Removed .coveragerc (test coverage config)
- Removed pytest.ini (pytest config)
- These should be in test/ directory or not needed
- Keeps root directory clean for release

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
TPTBusiness
2026-04-02 20:26:52 +02:00
parent 6730ae4865
commit f4741427af
2 changed files with 0 additions and 86 deletions
-55
View File
@@ -1,55 +0,0 @@
[run]
# Source code to measure
source = rdagent/components/backtesting
# Omit patterns
omit =
*/tests/*
*/test_*
*/__pycache__/*
*/conftest.py
*/site-packages/*
# Branch coverage
branch = True
# Parallel execution support
parallel = True
[report]
# Precision for coverage percentages
precision = 2
# Exclude patterns
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
@abstractmethod
# Show missing lines
show_missing = True
# Skip covered files in report
skip_covered = False
# Fail under threshold
fail_under = 80
[html]
# HTML report directory
directory = htmlcov
# Title for HTML report
title = PREDIX Backtesting Coverage Report
[xml]
# XML output file
output = coverage.xml
[json]
# JSON output file
output = coverage.json
-31
View File
@@ -1,31 +0,0 @@
[pytest]
# Test discovery
testpaths = test
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Coverage settings
addopts =
--cov=rdagent/components/backtesting
--cov-report=term-missing
--cov-report=html:htmlcov
--cov-report=xml:coverage.xml
--cov-fail-under=80
-v
--tb=short
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Logging
log_cli = false
log_cli_level = INFO
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests