소스 검색

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


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.