mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-09 05:12:12 +02:00
Fix test collection module errors & silence upstream Pytest warnings (#823)
* chore: add virtual environment and .env directories to gitignore * test: filter upstream DeprecationWarning and UserWarning messages * fix(namespace): remove empty __init__.py files to fix PEP 420 implicit namespace routing for trustgraph sub-packages
This commit is contained in:
parent
846282c375
commit
bec94d95ee
30 changed files with 11 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -16,4 +16,7 @@ trustgraph-vertexai/trustgraph/vertexai_version.py
|
||||||
trustgraph-unstructured/trustgraph/unstructured_version.py
|
trustgraph-unstructured/trustgraph/unstructured_version.py
|
||||||
trustgraph-mcp/trustgraph/mcp_version.py
|
trustgraph-mcp/trustgraph/mcp_version.py
|
||||||
trustgraph/trustgraph/trustgraph_version.py
|
trustgraph/trustgraph/trustgraph_version.py
|
||||||
vertexai/
|
vertexai/
|
||||||
|
venv/
|
||||||
|
.venv/
|
||||||
|
.env
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,10 @@ markers =
|
||||||
unit: marks tests as unit tests
|
unit: marks tests as unit tests
|
||||||
contract: marks tests as contract tests (service interface validation)
|
contract: marks tests as contract tests (service interface validation)
|
||||||
vertexai: marks tests as vertex ai specific tests
|
vertexai: marks tests as vertex ai specific tests
|
||||||
asyncio: marks tests that use asyncio
|
asyncio: marks tests that use asyncio
|
||||||
|
filterwarnings =
|
||||||
|
ignore:Core Pydantic V1 functionality isn't compatible with Python 3.14.*:UserWarning
|
||||||
|
ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning
|
||||||
|
ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning
|
||||||
|
ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning
|
||||||
|
ignore:.*_UnionGenericAlias.*is deprecated and slated for removal in Python 3.17:DeprecationWarning
|
||||||
Loading…
Add table
Add a link
Reference in a new issue