Improve `can.io.*` type hierarchy and annotations by zariiii9003 · Pull Request #1951 · hardbyte/python-can

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@zariiii9003

Copy link

Collaborator

  • Remove BaseIOHandler and use generics instead to narrow types.
  • Add missing type annotations log formats.

Other than can.io.mf4, this does pass mypy in strict mode.

@zariiii9003 zariiii9003 added file-io

about reading & writing to files

QA

about improving and maintaining the quality of the library

labels

Jun 18, 2025

@zariiii9003 zariiii9003 merged commit 7bc904e into hardbyte:main

Jul 23, 2025

30 checks passed

@zariiii9003 zariiii9003 deleted the io-typing2 branch

July 23, 2025 08:42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

file-io

about reading & writing to files

QA

about improving and maintaining the quality of the library

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@zariiii9003