Skip to content

UP008 fix safety documentation is questionable #18533

Open
@dscorbett

Description

@dscorbett

Summary

The documentation of super-call-with-parameters (UP008) says:

This rule's fix is marked as unsafe because removing the arguments from a call may delete comments that are attached to the arguments.

If that is the only reason, then the fix should be marked safe when there are no comments to delete. Otherwise, the other reasons should be documented.

Version

ruff 0.11.13 (5faf72a 2025-06-05)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedContributions especially welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions