[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*

# Async configuration
asyncio_mode = auto

# Logging configuration
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format = %Y-%m-%d %H:%M:%S

# Test coverage configuration
addopts = 
    --verbose
    --cov=arklex
    --cov-report=term-missing
    --cov-report=html
    --no-cov-on-fail

# Markers
markers =
    integration: marks tests as integration tests

# Suppress all DeprecationWarnings from dependencies
filterwarnings =
    ignore::DeprecationWarning
    ignore::DeprecationWarning:faiss.*
    ignore::DeprecationWarning:numpy.*
    ignore::DeprecationWarning:builtins
    ignore::DeprecationWarning:<frozen importlib._bootstrap>.*
    ignore:coroutine '.*' was never awaited:RuntimeWarning