The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs: replace stale Black formatting instructions with ruff format
Yujong Lee92ea8adb3bff
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 153ca040e27..82cad680a70 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -148,7 +148,7 @@ make lintIndividual linting commands:```bash-make format-check # Check Black formatting+make format-check # Check ruff format formattingmake lint-ruff # Run Ruff lintingmake lint-basedpyright # Run basedpyright type checkingmake check-circular-imports # Check for circular imports@@ -160,14 +160,14 @@ Apply formatting (auto-fixes issues):make format```-> **Black formatting is enforced in CI.** All PRs must pass the Black formatting check.+> **Formatting is enforced in CI.** All PRs must pass the `ruff format --check` step.>-> - **AI coding agents** (Claude Code, Copilot, Cursor, etc.): `AGENTS.md` instructs agents to run `poetry run black .` before committing.-> - **VS Code users**: Install the [Black Formatter extension](https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter) and enable format-on-save:+> - **AI coding agents** (Claude Code, Copilot, Cursor, etc.): follow `AGENTS.md` and run `make format` before committing.+> - **VS Code users**: Install the [Ruff extension](https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff) and enable format-on-save:> ```json> {> "[python]": {-> "editor.defaultFormatter": "ms-python.black-formatter",+> "editor.defaultFormatter": "charliermarsh.ruff",> "editor.formatOnSave": true> }> }@@ -197,8 +197,8 @@ make help # Show all available commandsmake install-dev # Install development dependenciesmake install-proxy-dev # Install proxy development dependenciesmake install-test-deps # Install the full local test environment-make format # Apply Black code formatting-make format-check # Check Black formatting (matches CI)+make format # Apply ruff format code formatting+make format-check # Check ruff format formatting (matches CI)make lint # Run all linting checksmake test-unit # Run unit testsmake test-integration # Run integration tests@@ -210,8 +210,7 @@ make test-unit-helm # Run Helm unit testsLiteLLM follows the [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html).Our automated quality checks include:-- **Black** for consistent code formatting-- **Ruff** for linting and code quality+- **Ruff** for formatting, linting, and code quality- **basedpyright** for static type checking- **Circular import detection**- **Import safety validation**