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

maximunited / imou_life / 25641692751
90%

Build:
DEFAULT BRANCH: master
Ran 10 May 2026 10:39PM UTC
Jobs 4
Files 22
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

10 May 2026 10:37PM UTC coverage: 90.936%. Remained the same
25641692751

push

github

web-flow
fix: configure Scrutinizer to exclude files with import false positives (#51)

* fix: suppress Scrutinizer false positives with inline noqa comments

Add inline suppressions for 3 Scrutinizer warnings in __init__.py where
static analysis incorrectly flags DOMAIN as undefined. The variable is
properly imported from .const on line 28.

Changes:
- Line 91: hass.data.setdefault(DOMAIN, {})
- Line 354: hass.config_entries.async_entries(DOMAIN)
- Line 382: if DOMAIN in hass.data

These are false positives from Scrutinizer's import tracking. Real
undefined variables are still caught by:
- flake8 (F82 checks in CI)
- Python runtime (NameError)
- 456 passing unit tests

The 4th warning (CONF_API_URL line 463) appears to be from old code
that was already refactored 9 months ago and no longer exists.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: suppress Scrutinizer false positives in config_flow.py

Add inline noqa suppressions for 9 false positive warnings in config_flow.py
where Scrutinizer's static analysis incorrectly flags imported constants
as undefined.

False positives suppressed:
- Line 533: key in list comprehension scope
- Lines 746-748: OPTION_ENABLE_DISCOVERY, DEFAULT_ENABLE_DISCOVERY
- Lines 754-756: OPTION_DISCOVERY_INTERVAL, DEFAULT_DISCOVERY_INTERVAL
- Line 770: OPTION_API_TIMEOUT
- Line 781: OPTION_CALLBACK_URL
- Line 787: OPTION_CAMERA_WAIT_BEFORE_DOWNLOAD
- Line 803: OPTION_WAIT_AFTER_WAKE_UP

All constants are properly imported from .const (lines 13-60).

Duplication warnings about empty string cleanup pattern are intentional -
each option requires its own check and cannot be abstracted without
complicating the code.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: suppress Scrutinizer false positives in battery_coordinator.py

Add inline noqa suppressions for 4 false positive warnings where
Scrutinizer incorrectly flags DOMAIN as undefined in HomeAssistantError
exception constructors.

False positives... (continued)

1515 of 1666 relevant lines covered (90.94%)

3.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.12 - 25641692751.1 10 May 2026 10:39PM UTC 22
90.94
GitHub Action Run
2 run-3.13 - 25641692751.2 10 May 2026 10:39PM UTC 22
90.94
GitHub Action Run
3 run-3.11 - 25641692751.3 10 May 2026 10:39PM UTC 22
90.94
GitHub Action Run
4 run-3.14 - 25641692751.4 10 May 2026 10:39PM UTC 22
90.9
GitHub Action Run
Source Files on build 25641692751
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25641692751
  • 4bf1164b on github
  • Prev Build on master (#25599791984)
  • Next Build on master (#25641710661)
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