Files
google--adk-python/.agents/skills/adk-style/references/formatting.md
T
wehub-resource-sync ec2b666284
Continuous Integration / Pre-commit Linter (push) Waiting to run
Continuous Integration / Mypy Check (Python 3.10) (push) Waiting to run
Continuous Integration / Mypy Check (Python 3.11) (push) Waiting to run
Continuous Integration / Mypy Check (Python 3.12) (push) Waiting to run
Continuous Integration / Mypy Check (Python 3.13) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.10) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.11) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.12) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.13) (push) Waiting to run
Continuous Integration / Unit Tests (Python 3.14) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.10) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.11) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.12) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.13) (push) Waiting to run
Continuous Integration / A2A v0.3 Tests (Python 3.14) (push) Waiting to run
Copybara PR Handler / close-imported-pr (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:25:13 +08:00

606 B

Formatting Style Guide

  • 2-space indentation (never tabs).
  • 80-character line limit.
  • pyink formatter (Google-style).
  • isort with Google profile for import sorting.
  • Enforced automatically by pre-commit hooks (isort, pyink, addlicense, mdformat). Use the adk-setup skill to install and configure these tools.

Running Formatter Manually

# Format only staged files (runs automatically on commit)
pre-commit run

# Format all changed files (staged + unstaged)
pre-commit run --files $(git diff --name-only HEAD)

# Format all files in the repo
pre-commit run --all-files