Skip to content

Code cleanup: fix unused imports, f-string prefixes, and comparison style (ruff) #1544

Description

@RobinHagmayer

I just forked the repo and saw that we could clean up the python backend code a bit. I used ruff check . inside the backend/ directory with ruff version 0.15.7. I used the default options with no additional rules enabled.

Ruff found 85 issues where 62 could be automatically fixed by ruff --fix.

There are also some lines which just contain spaces.

I saw that ruff was also mentioned in #653 as a default tool. Would love to see this merged in main soon.

For now I could create a PR which fixes these linting issues if you'd like.

Activity

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