Skip to content

Commit a676a3d

Browse files
committed
pin ruff==0.11.12, mypy==1.16.*
1 parent d62af81 commit a676a3d

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

can/io/generic.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ def __init__(
5959
# pylint: disable=consider-using-with
6060
# file is some path-like object
6161
self.file = cast(
62-
"typechecking.FileLike",
63-
open(
64-
cast("typechecking.StringPathLike", file), mode, encoding=encoding
65-
),
62+
"typechecking.FileLike", open(file, mode, encoding=encoding)
6663
)
6764

6865
# for multiple inheritance

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ changelog = "https://github.com/hardbyte/python-can/blob/develop/CHANGELOG.md"
6060
[project.optional-dependencies]
6161
lint = [
6262
"pylint==3.2.*",
63-
"ruff==0.10.0",
63+
"ruff==0.11.12",
6464
"black==25.1.*",
65-
"mypy==1.15.*",
65+
"mypy==1.16.*",
6666
]
6767
pywin32 = ["pywin32>=305; platform_system == 'Windows' and platform_python_implementation == 'CPython'"]
6868
seeedstudio = ["pyserial>=3.0"]

0 commit comments

Comments
 (0)