4b6817381b
CI (OpenClaw E2E) / openclaw test (push) Has been cancelled
CI / coverage-report (push) Has been cancelled
CI / test-kubernetes (push) Has been cancelled
CI / should-run-thorough (push) Has been cancelled
CI / test-thorough (cloudwatch-demo) (push) Has been cancelled
CI / test-thorough (flink-ecs) (push) Has been cancelled
CI / test-thorough (upstream-lambda) (push) Has been cancelled
CI / test-thorough (prefect-ecs-fargate) (push) Has been cancelled
Release / build-binaries (zip, opensre.exe, onefile, windows-latest, windows-x64) (push) Has been cancelled
Benchmark image — build + push to ECR (any adapter) / build + push (push) Has been cancelled
CI / quality (ubuntu-latest) (push) Has been cancelled
CI / test (tools-runtime) (push) Has been cancelled
CI / test (e2e-general) (push) Has been cancelled
CI / test (cli-runtime) (push) Has been cancelled
CI / test (e2e-provider-and-openclaw) (push) Has been cancelled
CI / test (integrations-and-misc) (push) Has been cancelled
Release / verify (push) Has been cancelled
Release / build-python-dist (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, macos-15-intel, darwin-x64) (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, macos-latest, darwin-arm64) (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04, linux-x64) (push) Has been cancelled
Release / publish-release (push) Has been cancelled
Release / publish-main-release (push) Has been cancelled
Interactive Shell Live (PR + post-merge) / turn-checks (no-LLM) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Interactive Shell Live (PR + post-merge) / turn-live shard ${{ matrix.shard_index }} (push) Has been cancelled
Release / prepare (push) Has been cancelled
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04-arm, linux-arm64) (push) Has been cancelled
Synthetic Deterministic Tests / Synthetic offline (deterministic) (push) Has been cancelled
66 lines
1.9 KiB
INI
66 lines
1.9 KiB
INI
[mypy]
|
|
python_version = 3.13
|
|
# Type-check as if the target is Linux regardless of where mypy runs.
|
|
# OpenSRE's agent bus and PTY-backed subprocess plumbing use POSIX-only
|
|
# APIs (``socket.AF_UNIX``, ``fcntl.flock``, ``pty.openpty``) that
|
|
# typeshed exposes only on POSIX. Without this pin, the ``windows-quality``
|
|
# job reports false-positive ``attr-defined`` errors against modules
|
|
# whose Windows variants legitimately lack those names. Runtime guards
|
|
# (``try/except OSError`` around ``openpty``, the bus module being a
|
|
# no-op when ``AF_UNIX`` is missing) are what keep Windows runs safe;
|
|
# this pin only affects static checks.
|
|
platform = linux
|
|
warn_return_any = True
|
|
warn_unused_configs = True
|
|
disallow_untyped_defs = False
|
|
ignore_missing_imports = False
|
|
# Tests are not type-checked. Top-level ``tests/`` is excluded by living outside
|
|
# the mypy source paths; gateway tests live under ``gateway/tests`` (see
|
|
# gateway/AGENTS.md) so they are excluded explicitly here to match that policy.
|
|
exclude = ^gateway/tests/
|
|
|
|
# Ignore boto3 import errors - stubs are installed but mypy needs explicit config
|
|
[mypy-boto3.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-botocore.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-kubernetes]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-requests]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-questionary]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-questionary.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-confluent_kafka]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-confluent_kafka.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-apscheduler]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-apscheduler.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-pyodbc]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-pyfiglet]
|
|
ignore_missing_imports = True
|
|
|
|
# Hugging Face `datasets` has no py.typed; error is attributed to the importer.
|
|
[mypy-integrations.opensre.hf_remote]
|
|
disable_error_code = import-untyped
|
|
|
|
# Per-module overrides
|
|
[mypy-core.tool_framework.utils.data_validation]
|
|
check_untyped_defs = False
|