ソースを参照

Add type annotations to porcelain.py functions

Add Union[str, os.PathLike, BaseRepo] type annotations to 74 functions
in porcelain.py to improve type inference. This helps tools like
dissolve perform better type introspection when migrating deprecated
API calls.

While most functions now have proper type annotations, there are still
3 specific calls that fail type introspection in porcelain.py itself,
likely due to tool-specific issues with the file.
Jelmer Vernooij 1 週間 前
コミット
abf09dd485
1 ファイル変更215 行追加114 行削除
  1. 215 114
      dulwich/porcelain.py

ファイルの差分が大きいため隠しています
+ 215 - 114
dulwich/porcelain.py


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません