Can Player compatibility with interfaces that use additional configur… · PythonWorkbench/python-can@1df6604 · GitHub
Skip to content

Commit 1df6604

Browse files
authored
Can Player compatibility with interfaces that use additional configuration (hardbyte#1610)
* Update mf4.py * Format code with black * Update trc.py * Format code with black * Update ci.yml Remove pylint specs for directories and files that no longer exist. --------- Co-authored-by: MattWoodhead <MattWoodhead@users.noreply.github.com>
1 parent 9412513 commit 1df6604

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions

can/io/mf4.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,11 @@ class MF4Reader(BinaryIOMessageReader):
272272
The MF4Reader only supports MF4 files that were recorded with python-can.
273273
"""
274274

275-
def __init__(self, file: Union[StringPathLike, BinaryIO]) -> None:
275+
def __init__(
276+
self,
277+
file: Union[StringPathLike, BinaryIO],
278+
**kwargs: Any,
279+
) -> None:
276280
"""
277281
:param file: a path-like object or as file-like object to read from
278282
If this is a file-like object, is has to be opened in

can/io/trc.py

Lines changed: 3 additions & 1 deletion

0 commit comments

Comments
 (0)