8000 add a strict par to fix #725 by sgnes · Pull Request #726 · cantools/cantools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add a strict par to fix #725 #726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 16, 2025
Merged

Conversation

sgnes
Copy link
Contributor
@sgnes sgnes commented Feb 15, 2025

add a strict parameter for Tester and Message, so that user can have control whether raise EncodeError for #725

@coveralls
Copy link
coveralls commented Feb 15, 2025

Pull Request Test Coverage Report for Build 13353908135

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 94.015%

Totals Coverage Status
Change from base Build 13241893616: 0.01%
Covered Lines: 7352
Relevant Lines: 7820

💛 - Coveralls

@andlaus
Copy link
Member
andlaus commented Feb 15, 2025

I'm unsure if it is a good idea to make it work for invalid input files, but I see no harm in merging this once the CI system passes...

@sgnes
Copy link
Contributor Author
sgnes commented Feb 16, 2025

I'm unsure if it is a good idea to make it work for invalid input files, but I see no harm in merging this once the CI system passes...

one case is there will be alot of such issue in the customer dbc, would be great if user have access to whether raise exception.
this invalid initial value should not affect the functionality, as user can set whatever value they want to send.
Can we merge this chane, thanks!

@andlaus andlaus merged commit fa06c20 into cantools:master Feb 16, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0