chore: import upstream snapshot with attribution
CI / test (3.10) (push) Failing after 1s
CI / test (3.12) (push) Failing after 0s
CI / skillgen-check (push) Failing after 0s
CI / security-scan (push) Failing after 0s

This commit is contained in:
wehub-resource-sync
2026-07-13 12:09:14 +08:00
commit d88fd01084
727 changed files with 235247 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
from __future__ import annotations
from typing import Any
import pytest
_ANALYZE_WARNING_FILTERS = (
"ignore:Tensorflow not installed; ParametricUMAP will be unavailable:ImportWarning:umap",
"ignore:Please import `random` from the `scipy\\.sparse` namespace.*:"
"DeprecationWarning:hyppo\\.independence\\.hhg",
"ignore:The keyword argument 'nopython=False' was supplied.*:Warning:numba\\.core\\.decorators",
)
def pytest_collection_modifyitems(items: list[Any]) -> None:
for item in items:
if item.path.name != "test_analyze.py":
continue
for warning_filter in _ANALYZE_WARNING_FILTERS:
item.add_marker(pytest.mark.filterwarnings(warning_filter))