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

Simplify interface and add type hints #2608

Merged
merged 16 commits into from
Oct 8, 2024

Conversation

MattHag
Copy link
Collaborator

@MattHag MattHag commented Sep 15, 2024

No description provided.

@MattHag MattHag force-pushed the simplify_interface branch 5 times, most recently from 1714748 to b09543d Compare September 15, 2024 20:42
This module shouldn't be necessary on the long run. Remove pieces from
it whenever possible.
Enforce a total coverage of 40% of the code.

Related pwr-Solaar#1097
Create coverage.xml, upload it to GitHub CI and visualize with codecov.

Setup instruction:
- Install codecov for project
  https://github.com/settings/installations/55029514
- Add CODECOV_TOKEN in the GitHub CI project secrets

Related pwr-Solaar#1097
- Remove comments with unused receivers
- Simplify receiver hardcoded info
@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2024

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

Codecov Report

Attention: Patch coverage is 60.43956% with 36 lines in your changes missing coverage. Please review.

Please upload report for BASE (master@40033c0). Learn more about missing BASE report.

Files with missing lines Patch % Lines
lib/logitech_receiver/desktop_notifications.py 37.03% 17 Missing ⚠️
lib/solaar/ui/desktop_notifications.py 62.50% 6 Missing ⚠️
lib/logitech_receiver/settings_templates.py 54.54% 5 Missing ⚠️
lib/solaar/ui/__init__.py 50.00% 4 Missing ⚠️
lib/logitech_receiver/base.py 83.33% 3 Missing ⚠️
lib/solaar/dbus.py 75.00% 1 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2608   +/-   ##
=========================================
  Coverage          ?   47.92%           
=========================================
  Files             ?       52           
  Lines             ?    14337           
  Branches          ?     2817           
=========================================
  Hits              ?     6871           
  Misses            ?     7080           
  Partials          ?      386           
Flag Coverage Δ
unittests 47.88% <60.43%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@pfps pfps merged commit 128ec43 into pwr-Solaar:master Oct 8, 2024
5 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