Skip to content

chore(python): add format check, return types, and improve contributing docs#97

Merged
mHjertaker merged 1 commit intomainfrom
pr/improve-python-dx-and-ci
Apr 14, 2026
Merged

chore(python): add format check, return types, and improve contributing docs#97
mHjertaker merged 1 commit intomainfrom
pr/improve-python-dx-and-ci

Conversation

@mHjertaker
Copy link
Copy Markdown
Contributor

Improve Python SDK developer experience and CI reliability:

  • Add return type annotations to all public SDK methods using auto-generated response models, enabling IDE autocomplete for callers
  • Add py.typed marker (PEP 561) so type checkers recognize the package
  • Add ruff format --check step to CI (was documented but not enforced)
  • Configure ruff lint rules (E, F, I, UP) and exclude auto-generated *_api_client directories from linting
  • Bump setup-python from v4 to v5 for consistency across workflows
  • Fix .editorconfig charset from utf-8-bom to utf-8 (ruff strips BOM)
  • Fix typos and add .NET section to CONTRIBUTING.md
  • Fix E501 violations in example files

…docs

  Improve Python SDK developer experience and CI reliability:
  - Add return type annotations to all public SDK methods using
    auto-generated response models, enabling IDE autocomplete for callers
  - Add py.typed marker (PEP 561) so type checkers recognize the package
  - Add ruff format --check step to CI (was documented but not enforced)
  - Configure ruff lint rules (E, F, I, UP) and exclude auto-generated
    *_api_client directories from linting
  - Bump setup-python from v4 to v5 for consistency across workflows
  - Fix .editorconfig charset from utf-8-bom to utf-8 (ruff strips BOM)
  - Fix typos and add .NET section to CONTRIBUTING.md
  - Fix E501 violations in example files
@mHjertaker mHjertaker requested a review from a team as a code owner April 14, 2026 09:17
@mHjertaker mHjertaker merged commit b749aa7 into main Apr 14, 2026
2 checks passed
@mHjertaker mHjertaker deleted the pr/improve-python-dx-and-ci branch April 14, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants