forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't include device specific code in coverage
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[run] | ||
source = homeassistant | ||
|
||
omit = | ||
homeassistant/external/* | ||
homeassistant/__main__ | ||
|
||
# omit pieces of code that rely on external devices being present | ||
homeassistant/components/wink.py | ||
homeassistant/components/*/wink.py | ||
homeassistant/components/zwave.py | ||
homeassistant/components/*/zwave.py | ||
homeassistant/components/*/tellstick.py | ||
homeassistant/components/*/wemo.py | ||
homeassistant/components/thermostat/nest.py | ||
homeassistant/components/light/hue.py | ||
homeassistant/components/sensor/systemmonitor.py | ||
homeassistant/components/notify/pushbullet.py | ||
homeassistant/components/media_player/cast.py | ||
homeassistant/components/device_tracker/luci.py | ||
homeassistant/components/device_tracker/tomato.py | ||
homeassistant/components/device_tracker/netgear.py | ||
homeassistant/components/device_tracker/nmap_tracker.py | ||
|
||
|
||
[report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about missing debug-only code: | ||
def __repr__ | ||
|
||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters