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

Add types to git/config.py#1234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 14 commits intogitpython-developers:mainfromYobmod:addtypes
May 13, 2021
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
14 commits
Select commitHold shift + click to select a range
efe6833
Add types to config.py CONFIG_LEVELS, MetaParserBuilder.__new__() .ne…
YobmodMay 8, 2021
6e331a0
Add types to config.py class SectionConstraint
YobmodMay 8, 2021
e21d96a
Add types to config.py class _OMD
YobmodMay 8, 2021
efc2598
Add types to config.py GitConfigParser .__init__() .aquire_lock()
YobmodMay 8, 2021
94b7ece
Add types to config.py GitConfigParser .release() ._read() ._has_incl…
YobmodMay 8, 2021
c6e458c
Add types to config.py GitConfigParser .read()
YobmodMay 9, 2021
ab69b9a
Add types to config.py GitConfigParser .write() ._write() .items() .i…
YobmodMay 9, 2021
c2f9f4e
Add types to config.py GitConfigParser ._assure_writable .add_section…
YobmodMay 9, 2021
3473060
Add typing section to cmd.py
YobmodMay 12, 2021
887f249
Add types to cmd.py Git
YobmodMay 12, 2021
f1ace25
Add types to cmd.py AutoInterrupt
YobmodMay 12, 2021
39eb0e6
Add types to cmd.py CatFileContentStream
YobmodMay 12, 2021
f62c8d8
Add types to cmd.py Git
YobmodMay 12, 2021
96c4365
flake8 and mypy fixes
YobmodMay 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
308 changes: 212 additions & 96 deletionsgit/cmd.py
View file
Open in desktop

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletionsgit/compat.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -44,9 +44,9 @@
def safe_decode(s: None) -> None: ...

@overload
def safe_decode(s:Union[IO[str],AnyStr]) -> str: ...
def safe_decode(s: AnyStr) -> str: ...

def safe_decode(s: Union[IO[str],AnyStr, None]) -> Optional[str]:
def safe_decode(s: Union[AnyStr, None]) -> Optional[str]:
"""Safely decodes a binary string to unicode"""
if isinstance(s, str):
return s
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp