From d3db52eed7b9c0861e7a49f73cfe668203a9a300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Wien=C3=B6bst?= Date: Thu, 26 Nov 2026 10:03:58 +0100 Subject: [PATCH] Add formatter and linter infos to `CONTRIBUTING.md` --- CONTRIBUTING.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ec35eabf..a9aa7e88 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,6 +38,14 @@ Recommended flow for code contributions: - Any migration or compatibility impact 5. Stay available to address review feedback and follow-up fixes. +## Formatting and Linting + +We use Ruff for formatting and Pylint for linting. + +Make sure to run the Ruff formatter locally via `uv run ruff format` or `make format`. + +Pylint linting checks can be run locally via `uv run pylint ai_api_client_sdk ai_core_sdk gen_ai_hub --errors-only` or `make lint`. + ## Contributing Code or Documentation You are welcome to contribute code in order to fix a bug or to implement a new feature that is logged as an issue. @@ -54,7 +62,7 @@ To keep quality and reliability high, contributions should meet these criteria: * Unit tests and integration tests pass for affected areas. * CI checks are green for your pull request. -* Lint checks pass without new issues. +* Lint and formatting checks pass. ## Documentation Expectations