Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
Merge branch 'main' into true-pathlike
  • Loading branch information
George-Ogden committed Nov 29, 2025
commit b5abe0fea1d4cd366b62c6360ba0c2a1c03b60ea
2 changes: 0 additions & 2 deletions git/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,6 @@ def read(self) -> None: # type: ignore[override]
file_path = cast(IO[bytes], file_path)
self._read(file_path, file_path.name)
else:
# Assume a path if it is not a file-object.
file_path = os.fspath(file_path)
try:
with open(file_path, "rb") as fp:
file_ok = True
Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
coverage[toml]
ddt >= 1.1.1, != 1.4.3
mock ; python_version < "3.8"
mypy<1.19.0
mypy==1.18.2 ; python_version >= "3.9" # pin mypy version to avoid new errors
pre-commit
pytest >= 7.3.1
pytest-cov
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.