chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
comment:
|
||||
layout: "diff, flags, files"
|
||||
behavior: default
|
||||
require_changes: false
|
||||
require_base: false
|
||||
require_head: true
|
||||
hide_project_coverage: false
|
||||
@@ -0,0 +1,81 @@
|
||||
[mypy]
|
||||
; Exclude directories and files from type checking
|
||||
; - External provider type inference tests require those provider packages to be installed
|
||||
; The core test_type_inference.py and test_type_inference_custom_provider.py can be checked
|
||||
exclude = ^(apps/composio/|utils/|\.nox/|.*/setup\.py|.*/build/|examples/|.*demo.*|tests/test_type_inference_(?!custom_provider).*)
|
||||
strict_optional=True
|
||||
disable_error_code=var-annotated
|
||||
|
||||
|
||||
; Only add packages which does not have type-stub package
|
||||
[mypy-pysher.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-crewai.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-vertexai.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-google.adk.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-google.genai.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-proto.marshal.collections.maps]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-autogen.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-autogen_core.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_gemini.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-claude_agent_sdk.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-mcp.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-llama_index.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-agents.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
; Composio provider packages (may not be installed)
|
||||
[mypy-composio_anthropic.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_langchain.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_langgraph.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_llamaindex.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_openai_agents.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_crewai.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_autogen.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_google.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_google_adk.*]
|
||||
ignore_missing_imports=true
|
||||
|
||||
[mypy-composio_claude_agent_sdk.*]
|
||||
ignore_missing_imports=true
|
||||
[mypy-json_schema_to_pydantic.*]
|
||||
ignore_missing_imports=true
|
||||
@@ -0,0 +1,8 @@
|
||||
[pytest]
|
||||
addopts = --strict-markers
|
||||
markers =
|
||||
core: marks tests that check only the core functionality
|
||||
openai: marks tests that check the OpenAIProvider
|
||||
langchain: marks tests that check the LangChainProvider
|
||||
agno: marks tests that check the AgnoProvider
|
||||
gemini: marks tests that check the GeminiProvider
|
||||
@@ -0,0 +1,6 @@
|
||||
# Same as Black.
|
||||
line-length = 88
|
||||
indent-width = 4
|
||||
|
||||
[lint]
|
||||
ignore = [ "E741" ]
|
||||
@@ -0,0 +1,17 @@
|
||||
# Vulture allowlist — confirmed false positives.
|
||||
#
|
||||
# Vulture (see the `dead_code` nox session) cannot see some usages: symbols
|
||||
# referenced only through `__all__`, dynamic attribute access, framework entry
|
||||
# points, or `TYPE_CHECKING`-only re-exports look "unused" to it. List such
|
||||
# confirmed-intentional names here so they stop showing up in the report.
|
||||
#
|
||||
# The idiom is a *bare reference* to the name (a load), one per line — that is
|
||||
# what marks it "used". Keep a comment explaining why each entry is a false
|
||||
# positive, and prune entries when the underlying symbol is deleted.
|
||||
|
||||
# Re-exported for downstream typing via `__all__` in
|
||||
# composio/core/models/custom_tool.py (TYPE_CHECKING-only imports, so vulture
|
||||
# does not connect the __all__ string to the import binding).
|
||||
SessionAttachResponseExperimental # noqa: B018, F821
|
||||
SessionCreateResponseExperimental # noqa: B018, F821
|
||||
SessionRetrieveResponseExperimental # noqa: B018, F821
|
||||
Reference in New Issue
Block a user