فهرست منبع

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


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است