mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Fixes the mypy pre-commit job, and subsequent fixes from there. Moved all python tests to use the uv setup task instead of manual cache, python install and uv install. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
72 lines
1.9 KiB
INI
72 lines
1.9 KiB
INI
|
|
[mypy]
|
|
plugins = pydantic.mypy
|
|
ignore_missing_imports = true
|
|
|
|
[pydantic-mypy]
|
|
init_forbid_extra = false
|
|
init_typed = false
|
|
warn_required_dynamic_aliases = false
|
|
warn_untyped_fields = true
|
|
|
|
[mypy-semantic_kernel]
|
|
no_implicit_reexport = true
|
|
|
|
[mypy-semantic_kernel.data.*]
|
|
disable_error_code = method-assign
|
|
|
|
[mypy-semantic_kernel.memory.*]
|
|
ignore_errors = true
|
|
# TODO (eavanvalkenburg): remove this
|
|
# https://github.com/microsoft/semantic-kernel/issues/6463
|
|
|
|
[mypy-semantic_kernel.planners.*]
|
|
ignore_errors = true
|
|
# TODO (eavanvalkenburg): remove this after future of planner is decided
|
|
# https://github.com/microsoft/semantic-kernel/issues/6465
|
|
|
|
[mypy-semantic_kernel.connectors.memory.astradb.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.azure_ai_search.*]
|
|
ignore_errors = false
|
|
[mypy-semantic_kernel.connectors.memory.azure_cognitive_search.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.azure_cosmosdb.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.azure_cosmosdb_no_sql.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.chroma.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.milvus.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.mongodb_atlas.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.pinecone.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.postgres.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.qdrant.qdrant_vector_record_store.*]
|
|
ignore_errors = true
|
|
[mypy-semantic_kernel.connectors.memory.qdrant.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.redis.redis_vector_record_store.*]
|
|
ignore_errors = true
|
|
[mypy-semantic_kernel.connectors.memory.redis.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.usearch.*]
|
|
ignore_errors = true
|
|
|
|
[mypy-semantic_kernel.connectors.memory.weaviate.*]
|
|
ignore_errors = true
|