Skip to content

Add info about used git commit into ruff --version if available #11691

Open
@qarmin

Description

Currently git version of app, always for ruff --version prints something like

ruff 0.4.7

I think that here could be added more info like

  • git hash of commit
  • type of build - custom build, official build, other
  • build commands

e.g.

ruff 0.4.7, abcdef, custom build
ruff 0.4.7, abcdef, from debian repository
ruff 0.4.7, abcdef, official package

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions