Skip to content

Conversation

@acolomb
Copy link
Member

@acolomb acolomb commented Aug 12, 2024

Contains fixes from #512 as well, but with a slightly simpler approach.

The attribute is set within the method directly following.  So there
is no need to initialize it to None before, only to confuse type
checkers.
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 71.04%. Comparing base (83594ac) to head (b8187cd).
Report is 2 commits behind head on master.

Files Patch % Lines
canopen/nmt.py 60.00% 1 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #534      +/-   ##
==========================================
- Coverage   71.10%   71.04%   -0.06%     
==========================================
  Files          26       26              
  Lines        3111     3112       +1     
  Branches      526      527       +1     
==========================================
- Hits         2212     2211       -1     
- Misses        769      770       +1     
- Partials      130      131       +1     
Files Coverage Δ
canopen/network.py 91.41% <100.00%> (-0.06%) ⬇️
canopen/nmt.py 91.85% <60.00%> (-1.39%) ⬇️

@acolomb acolomb merged commit 1b7c06f into canopen-python:master Aug 14, 2024
@acolomb acolomb deleted the typing/network branch August 14, 2024 21:19
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