15 lines
432 B
Python
15 lines
432 B
Python
"""Pytest configuration for automatic typeguard integration."""
|
|
|
|
|
|
def pytest_configure(config):
|
|
"""Configure pytest to use typeguard automatically."""
|
|
# This enables typeguard for all functions with type hints
|
|
# without requiring @typechecked decorators
|
|
pass
|
|
|
|
|
|
def pytest_runtest_setup(item):
|
|
"""Set up typeguard for each test run."""
|
|
# Import hook is automatically enabled via --typeguard-packages
|
|
pass
|