Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
Closed
Labels
Description
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.