Skip to content

Commit ec011f4

Browse files
github-actions[bot]A5rockspre-commit-ci[bot]
authored
Bump dependencies from commit e317d9 (#2914)
* Dependency updates * Fix pyright update * [pre-commit.ci] auto fixes from pre-commit.com hooks * Alternative to ignoring pyright --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: EXPLOSION <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f673cfd commit ec011f4

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

docs-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
alabaster==0.7.13
88
# via sphinx
9-
attrs==23.1.0
9+
attrs==23.2.0
1010
# via
1111
# -r docs-requirements.in
1212
# outcome

src/trio/_file_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class _CanReadLine(Protocol[AnyStr_co]):
184184
def readline(self, size: int = ..., /) -> AnyStr_co: ...
185185

186186
class _CanReadLines(Protocol[AnyStr]):
187-
def readlines(self, hint: int = ...) -> list[AnyStr]: ...
187+
def readlines(self, hint: int = ..., /) -> list[AnyStr]: ...
188188

189189
class _CanSeek(Protocol):
190190
def seek(self, target: int, whence: int = 0, /) -> int: ...

src/trio/_tests/type_tests/path.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,5 @@ async def open_results(path: trio.Path, some_int: int, some_str: str) -> None:
138138
file_text = await path.open("r+t")
139139
assert_type(await file_text.read(), str)
140140
assert_type(await file_text.write("test"), int)
141+
# TODO: report mypy bug: equiv to https://github.com/microsoft/pyright/issues/6833
141142
assert_type(await file_text.readlines(), List[str])

test-requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ astroid==3.0.2
1212
# via pylint
1313
async-generator==1.10
1414
# via -r test-requirements.in
15-
attrs==23.1.0
15+
attrs==23.2.0
1616
# via
1717
# -r test-requirements.in
1818
# outcome
@@ -34,7 +34,7 @@ click==8.1.7
3434
# pip-tools
3535
codespell==2.2.6
3636
# via -r test-requirements.in
37-
coverage==7.3.4
37+
coverage==7.4.0
3838
# via -r test-requirements.in
3939
cryptography==41.0.7
4040
# via
@@ -112,9 +112,9 @@ pyopenssl==23.3.0
112112
# via -r test-requirements.in
113113
pyproject-hooks==1.0.0
114114
# via build
115-
pyright==1.1.342
115+
pyright==1.1.344
116116
# via -r test-requirements.in
117-
pytest==7.4.3
117+
pytest==7.4.4
118118
# via -r test-requirements.in
119119
pytz==2023.3.post1
120120
# via babel

0 commit comments

Comments
 (0)