← 输入框|github.com|刷新
Skip to content

lib_updater formatting is not aligned to ruff format #6701

Closed

Description

@youknowone

Summary

ruff format prefers "", but lib_updater is using ''

Details

Activity

  1. ShaharNaveh commented on Jan 11, 2026

    @ShaharNaveh
    Contributor

    Correct, the reason for that is that we are building custom AST nodes, then using ast.unparse for generating the code. ast.unparse prefers single quotes and some other stuff that are different from ruff.

    maybe we can use subprocess to format the decorators using ruff somehow 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions