Index of every page on this site: llms.txt
All skills
composiohq avatar

/python-testing

@85dab73
by Composiocomposiohq/composio31k stars
4,962
Run it yourself

Select and run Python SDK verification with nox, Makefile targets, Ruff, mypy, pytest markers, sanity tests, type inference checks, and build checks. Use when adding Python tests, diagnosing Python CI, or validating Python SDK/provider changes. Do not use for TypeScript-only checks.

Use this Skill: https://skilld.dev/gh/composiohq/composio/python-testing

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesnox-make.md

≈288 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Python Verification

Setup

From python/:

make env
source .venv/bin/activate

Make Targets

make fmt
make chk
make tst
make snt
make type_inference
make build

Friendly aliases exist for the short names: make format (fmt), make check (chk), make test (tst), make sanity (snt).

Nox Sessions

Current sessions include:

  • fmt: Ruff import fixes and formatting.
  • chk: Ruff check and mypy.
  • fix: Ruff automatic fixes.
  • type_inference: provider return-type inference checks.
  • tst: pytest test suite, plus the openai_agents and claude_agent_sdk provider package tests.
  • tst_autogen: Autogen regressions in an isolated protobuf-compatible environment.
  • snt: sanity tests.

When adding or renaming provider packages, inspect the explicit provider install lists in the tst and type_inference sessions (and .github/workflows/py.test.yml), and the type_inference checked test-file list.

Test Placement

  • Core tests live under python/tests/.
  • Use existing fixtures from python/tests/conftest.py.
  • Provider behavior should include provider-specific tests when applicable.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2d3 checks · Risk SAFE
  • Gen Agent Trust Hub2d

    This skill provides instructions for standard Python development tasks such as running tests, formatting code, and performing type checks using common tools like Nox and Make. No security issues were detected.

  • Socket1mo

    No alerts

  • Snyk2d

    Risk: LOW · No issues

Signed by skilld at 85dab73. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 5 months ago

README badge

README badge for composiohq/composio/python-testing