fix: exclude __init__.py from pytest collection to prevent CI import errors

This commit is contained in:
Will Miao
2026-03-19 14:43:45 +08:00
parent 1ae1b0d607
commit 61c31ecbd0

View File

@@ -1,5 +1,5 @@
[pytest] [pytest]
addopts = -v --import-mode=importlib -m "not performance" addopts = -v --import-mode=importlib -m "not performance" --ignore=__init__.py
testpaths = tests testpaths = tests
python_files = test_*.py python_files = test_*.py
python_classes = Test* python_classes = Test*