You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Formatter**: Use `ruff` for formatting and linting
229
+
Contributions are required to generally comply with the coding standards for
230
+
the language and component they touch. Generated files are excluded where the
231
+
local tool configuration excludes them; update the source specification or
232
+
generator and regenerate those files instead of hand-editing generated output.
233
+
234
+
### Required Style Guides
235
+
236
+
| Area | Primary language | Required style guide |
237
+
| --- | --- | --- |
238
+
| Server, CLI, Python SDKs, Python tests | Python |[PEP 8](https://peps.python.org/pep-0008/) plus Google-style docstrings for public APIs |
239
+
| Go components, Kubernetes controller, Go SDK | Go |[Effective Go](https://go.dev/doc/effective_go) and [Go Code Review Comments](https://go.dev/wiki/CodeReviewComments)|
| Server |`server/pyproject.toml`; `.github/workflows/server-test.yml` runs `uv run ruff check`|
249
+
| CLI and Python SDKs | package `pyproject.toml` files; `.github/workflows/sdk-tests.yml` runs `uv run ruff check` and `uv run pyright`|
250
+
| Go components and Kubernetes |`gofmt`, `go vet`, and `golangci-lint` where configured; component workflows run format, lint, build, and test checks |
251
+
| Go SDK |`.github/workflows/sdk-tests.yml` runs `gofmt`, `go vet`, and tests |
252
+
| JavaScript/TypeScript SDKs |`sdks/eslint.base.mjs` and package `eslint.config.mjs`; `.github/workflows/sdk-tests.yml` runs `pnpm run lint` and `pnpm run typecheck`|
0 commit comments