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

maximunited / imou_life / 25641692751 / 4
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 10 May 2026 10:39PM UTC
Files 22
Run time 0s
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.904%. Remained the same
25641692751.4

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)

1509 of 1660 relevant lines covered (90.9%)

0.91 hits per line

Source Files on job run-3.14 - 25641692751.4
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25641692751
  • 4bf1164b on github
  • Prev Job for on master (#25599791984.2)
  • Next Job for on master (#25641710661.4)
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