Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

repo.blame should allow passingNone as therev parameter. #1835

Closed
@Gaubbe

Description

@Gaubbe

This issue only affects the type hint given to therev parameter, as passingNone to the function does work and gives the expected behavior, which is running thegit blame -p -- <file> command without a revision, which gives back the blameincluding changes to the local working directory that haven't been committed yet.

While the code works at runtime, language servers such as pylance give back an error, asNone is not a valid type according to the type hints.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp