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