Skip to content

Removes quotes from annotations removes quotes from literal values #2613

@Czaki

Description

@Czaki

It looks like #2431 also removes quotes from literal values in type annotation

In general, when bump ruff from 0.0.237 to 0.0.242 the following change is generated by ruff:

Literal["x86_64", "arm64"]

to

Literal[x86_64, arm64]

cibuilwheel PR with visible problem

pypa/cibuildwheel#1412

The change, when force revert changes

pypa/cibuildwheel@923fd3c (#1412)

And log from ruff:

https://results.pre-commit.ci/run/github/85508223/1675723555.oUgkXTipRmOlnOPISWV1OA

ruff configuration https://github.com/pypa/cibuildwheel/blob/e42277a69204ccfae9a1f4ae3b574eaa54109925/pyproject.toml#L120

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions