• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alandtse / alexa_media_player / 22282439070
24%
dev: 24%

Build:
Build:
LAST BUILD BRANCH: Refine-last_called-updates
DEFAULT BRANCH: dev
Ran 22 Feb 2026 06:05PM UTC
Jobs 1
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Feb 2026 06:05PM UTC coverage: 23.778%. First build
22282439070

Pull #3396

github

web-flow
Rename DataCache.set method to avoid shadowing built-in

Issue identified during review of PR #3390
Reported by: @coderabbitai
Requested by: @alandtse

Description:
In custom_components/alexa_media/metrics.py around lines 46-122, the DataCache.set method name shadows Python's built-in set type.

Current implementation:

def set(self, key: str, value: Any) -> None:
Suggested improvement:
Rename to a clearer name that doesn't shadow built-ins, such as:

cache_set
store
put
Impact:
Nitpick - No runtime problem since it's a method, but better practice to avoid shadowing built-ins for code clarity.

Reference:

PR: chore: release 2026-02-21 #3390
File: custom_components/alexa_media/metrics.py:46-122

Fixes: #3394
Pull Request #3396: fix: Rename DataCache.set method to avoid shadowing built-in

1 of 1 new or added line in 1 file covered. (100.0%)

1133 of 4765 relevant lines covered (23.78%)

0.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22282439070.1 22 Feb 2026 06:05PM UTC 19
23.78
GitHub Action Run
Source Files on build 22282439070
  • Tree
  • List 19
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22282439070
  • Pull Request #3396
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc