Skip to content

chore: Update to Ruff 0.16 - #1514

Merged
dbanty merged 1 commit into
mainfrom
ruff-0.16
Nov 7, 2026
Merged

dbanty merged 1 commit into
mainfrom
ruff-0.16

Conversation

@dbanty

@dbanty dbanty commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@dbanty
dbanty requested a balanced review from Copilot November 7, 2026 20:51
@dbanty
dbanty merged commit dd5250d into main Nov 7, 2026
24 checks passed
@dbanty
dbanty deleted the ruff-0.16 branch November 7, 2026 20:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the Ruff tooling and compatibility update.

No open issues 🎉

What changed in this PR

Updates the project’s development tooling for Ruff 0.16 and adapts source code, tests, and generated documentation to its linting and formatting rules.

Changes:

  • Locks Ruff to 0.16.10, adjusts its development dependency range and test lint exceptions, and refreshes the minimal lockfile.
  • Makes selected parameters keyword-only, updates callers, and simplifies union annotations.
  • Refreshes formatting in generated README examples and golden records.
File Description
tests/​test___init__.py Uses keyword arguments for configuration creation.
tests/​conftest.py Updates the configuration fixture to keyword arguments.
pyproject.toml Adjusts Ruff’s version range and test lint exceptions.
pdm.minimal.lock Refreshes minimal dependencies and Ruff group membership.
pdm.lock Updates Ruff to 0.16.10.
openapi_python_client/​schema/​openapi_schema_pydantic/​schema.py Places None last in union annotations.
openapi_python_client/​parser/​properties/​uuid.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​string.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​none.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​model_property.py Simplifies the additional-properties union annotation.
openapi_python_client/​parser/​properties/​int.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​float.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​file.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​datetime.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​date.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​boolean.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​any.py Makes builder parameters keyword-only.
openapi_python_client/​parser/​properties/​__init__.py Makes property parsing parameters keyword-only.
openapi_python_client/​config.py Makes configuration factory parameters keyword-only.
openapi_python_client/​cli.py Updates configuration calls and the command signature.
integration-tests/​README.md Reformats generated Python examples.
fuzz/​test_codegen.py Uses keyword arguments for configuration creation.
end_to_end_tests/​test_end_to_end.py Updates helper signatures and calls to keyword arguments.
end_to_end_tests/​golden-records/​test-3-1-features-client/​README.md Refreshes README example formatting.
end_to_end_tests/​golden-records/​my-test-api-client/​README.md Refreshes README example formatting.
end_to_end_tests/​golden-records/​my-enum-api-client/​README.md Refreshes README example formatting.
end_to_end_tests/​golden-records/​escapes-client/​README.md Refreshes README example formatting.
end_to_end_tests/​golden-records/​docstrings-on-attributes-golden-record/​README.md Refreshes README example formatting.
end_to_end_tests/​generated_client.py Makes helper options keyword-only and updates internal calls.
end_to_end_tests/​functional_tests/​helpers.py Passes inline-generation options by keyword.

Review effort: Balanced

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.

2 participants