Skip to content

code action to remove Redundant cast #2316

@asukaminato0721

Description

@asukaminato0721

Describe the Bug

this require type info so ruff can't do it.

WARN Redundant cast: `int` is the same type as `int` [redundant-cast]
   --> core/ops/aliyun_trace/data_exporter/traceclient.py:204:20
    |
204 |         return cast(int, uuid_obj.int)
    |                    -------------------
    |

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedLarger than "good first issue", but still well-defined and ready for someone to pick uplanguage-serverIssues specific to our IDE integration rather than type checking

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions