Skip to main content

One post tagged with "Ruff"

View All Tags

· 10 min read

This release delivers comprehensive code quality improvements to our Python SDKs. Generated SDKs now produce Ruff-compatible code that adheres to PEP 8 and PEP 257 style guidelines.

Key outcomes:

  • Cleaner, more maintainable SDK code that follows modern Python best practices, with properly formatted docstrings, organized imports, and consistent styling
  • CI/CD integration ready with included ruff.toml configuration for automated linting

The improvements span string literal consistency, import organization, docstring formatting, line length management, and formatter-friendly structure. Where linting rules could potentially impact existing consumer code, they are intentionally bypassed to preserve behavior.

Zero-Downtime Upgrade

  • No action required. These improvements maintain full backward compatibility with existing SDK implementations. No breaking changes are included.
  • Simply regenerate your Python SDKs to take advantage of these enhancements