-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
Exclude gold and platinum integrations from .coveragerc #117563
Conversation
Hey there @fredrike, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Hey there @fredrike, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Hey there @fabaff, @frenck, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
.coveragerc
Outdated
homeassistant/components/point/__init__.py | ||
homeassistant/components/point/alarm_control_panel.py | ||
homeassistant/components/point/binary_sensor.py | ||
homeassistant/components/point/sensor.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
point
has very low coverage... should it still qualify as gold
(grandfather rule) or should we move back to silver
?
See home-assistant/home-assistant.io#8477
---------- coverage: platform linux, python 3.12.2-final-0 -----------
Name Stmts Miss Cover Missing
-------------------------------------------------------------------------------------
homeassistant/components/point/__init__.py 173 112 35% 67-82, 88-119, 124-143, 150-158, 163-172, 182-189, 193, 197-227, 231, 235-237, 241, 246, 250, 254, 264-282, 286, 290-294, 298-299, 307, 312, 317, 322-326, 331, 336
homeassistant/components/point/alarm_control_panel.py 58 58 0% 3-117
homeassistant/components/point/binary_sensor.py 58 58 0% 3-130
homeassistant/components/point/config_flow.py 95 13 86% 89, 94, 112-123, 128, 183-190
homeassistant/components/point/const.py 8 0 100%
homeassistant/components/point/sensor.py 28 28 0% 3-87
-------------------------------------------------------------------------------------
TOTAL 420 269 36%
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's correct it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted following #117783
.coveragerc
Outdated
homeassistant/components/tellduslive/__init__.py | ||
homeassistant/components/tellduslive/binary_sensor.py | ||
homeassistant/components/tellduslive/cover.py | ||
homeassistant/components/tellduslive/entry.py | ||
homeassistant/components/tellduslive/light.py | ||
homeassistant/components/tellduslive/sensor.py | ||
homeassistant/components/tellduslive/switch.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tellduslive
has very low coverage... should it still qualify as gold
(grandfather rule) or should we move back to silver
?
See home-assistant/home-assistant.io#8481
---------- coverage: platform linux, python 3.12.2-final-0 -----------
Name Stmts Miss Cover Missing
-------------------------------------------------------------------------------------
homeassistant/components/tellduslive/__init__.py 115 80 30% 58-79, 84-99, 104-117, 122-132, 140-146, 150-151, 155, 160-172, 176-195, 201-213, 219, 223
homeassistant/components/tellduslive/binary_sensor.py 18 18 0% 3-43
homeassistant/components/tellduslive/config_flow.py 73 0 100%
homeassistant/components/tellduslive/const.py 16 0 100%
homeassistant/components/tellduslive/cover.py 29 29 0% 3-59
homeassistant/components/tellduslive/entry.py 68 68 0% 3-119
homeassistant/components/tellduslive/light.py 43 43 0% 3-80
homeassistant/components/tellduslive/sensor.py 66 66 0% 3-197
homeassistant/components/tellduslive/switch.py 25 25 0% 3-53
-------------------------------------------------------------------------------------
TOTAL 453 329 27%
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's correct it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted following #117784
@@ -19,6 +19,7 @@ | |||
"recorder.py", | |||
"scene.py", | |||
) | |||
FORCE_COVERAGE = ("gold", "platinum") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we add internal
to the list, we have:
- browser
- downloader
- folder_watcher
- kitchen_sink
- otp
- ping
- recorder
- stream
- time_date
- zeroconf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @epenet 👍
../Frenck
Proposed change
SSIA, based on https://developers.home-assistant.io/docs/integration_quality_scale_index/#gold- and home-assistant/developers.home-assistant#1194
Tests: Above average test coverage for all integration modules
Sample output
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: