Did some things, made more improvements.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
14
backend/conftest.py
Normal file
14
backend/conftest.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""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
|
||||
Reference in New Issue
Block a user