Skip to content

Setup python linter #5

@ricochet

Description

@ricochet

Reviewing the source, I found a couple things linters would typically catch, e.g. variable name shadows Python built-in os module. Example nit:

-def calculate_artifact_url(version: str, tag: str, arch: str, os: str):
+def calculate_artifact_url(version: str, tag: str, arch: str, os_name: str):

I haven't played around with python linters for a long time so I don't have a strong preference here. A quick review suggests ruff (MIT license) made by the folks who made uv would be a good a choice.

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