Skip to content
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

feat: only import recovery code the first time the recovery is called #44

Merged
merged 4 commits into from
Mar 13, 2024

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Mar 13, 2024

On the fast majority of system we will never need to reset the adapter so we do not want to load all the deps until its needed

bdraco added 2 commits March 13, 2024 13:19
On the fast majority of system we will never need to reset the adapter
so we do not want to load all the deps until its needed
On the fast majority of system we will never need to reset the adapter
so we do not want to load all the deps until its needed
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

Attention: Patch coverage is 93.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 21.09%. Comparing base (dd234f8) to head (5482ac4).
Report is 1 commits behind head on main.

Files Patch % Lines
src/bluetooth_auto_recovery/__init__.py 93.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
+ Coverage   18.50%   21.09%   +2.58%     
==========================================
  Files           3        3              
  Lines         389      403      +14     
  Branches       63       64       +1     
==========================================
+ Hits           72       85      +13     
  Misses        315      315              
- Partials        2        3       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bdraco bdraco marked this pull request as ready for review March 13, 2024 23:39
@bdraco bdraco merged commit 39372f0 into main Mar 13, 2024
10 of 11 checks passed
@bdraco bdraco deleted the btsocket_late branch March 13, 2024 23:39
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.

1 participant