Skip to content

Commit ad5c2ea

Browse files
Bump mypy from 1.15.0 to 1.16.1 (#5335)
* Bump mypy from 1.15.0 to 1.16.1 Bumps [mypy](https://github.com/python/mypy) from 1.15.0 to 1.16.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.15.0...v1.16.1) --- updated-dependencies: - dependency-name: mypy dependency-version: 1.16.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * update type hints --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael R. Crusoe <[email protected]>
1 parent 275fb04 commit ad5c2ea

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ astroid>=3,<4
1010
sphinx-autodoc-typehints>=1.24.0,<4
1111
sphinxcontrib-autoprogram==0.1.9
1212
cwltest>=2.6.20250314152537
13-
mypy==1.15.0
13+
mypy==1.16.1
1414
types-aws-xray-sdk
1515
types-boto<2.49.18.20241020
1616
types-Flask-Cors

src/toil/cwl/cwltoil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2584,7 +2584,7 @@ def __init__(
25842584
resources={},
25852585
mutation_manager=runtime_context.mutation_manager,
25862586
formatgraph=tool.formatgraph,
2587-
make_fs_access=cast(type[StdFsAccess], runtime_context.make_fs_access),
2587+
make_fs_access=runtime_context.make_fs_access,
25882588
fs_access=runtime_context.make_fs_access(""),
25892589
job_script_provider=runtime_context.job_script_provider,
25902590
timeout=runtime_context.eval_timeout,

src/toil/lib/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_public_ip() -> str:
2727
try:
2828
# Try to get the internet-facing IP by attempting a connection
2929
# to a non-existent server and reading what IP was used.
30-
ip = "127.0.0.1"
30+
ip: str = "127.0.0.1"
3131
with closing(socket.socket(socket.AF_INET, socket.SOCK_DGRAM)) as sock:
3232
# 203.0.113.0/24 is reserved as TEST-NET-3 by RFC 5737, so
3333
# there is guaranteed to be no one listening on the other

src/toil/test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def needs_google_storage(test_item: MT) -> MT:
467467
"""
468468
test_item = _mark_test("google_storage", needs_online(test_item))
469469
try:
470-
from google.cloud import storage # type: ignore[import-untyped]
470+
import google.clould.storage # type: ignore[import-untyped]
471471
except ImportError:
472472
return unittest.skip(
473473
"Install Toil with the 'google' extra to include this test."

0 commit comments

Comments
 (0)