Update quality scale to platinum 🏆️ for pyLoad integration (#138891)

* Add quality scale file to pyLoad integration

* set strict-typing to done

* set parallel-updates to done

* docs

* update docs

* flow coverage done

* set platinum quality scale
This commit is contained in:
Manu 2025-03-01 22:36:51 +01:00 committed by GitHub
parent 1786bb9903
commit 35825be12b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 94 additions and 2 deletions

View File

@ -396,6 +396,7 @@ homeassistant.components.pure_energie.*
homeassistant.components.purpleair.*
homeassistant.components.pushbullet.*
homeassistant.components.pvoutput.*
homeassistant.components.pyload.*
homeassistant.components.python_script.*
homeassistant.components.qbus.*
homeassistant.components.qnap_qsw.*

View File

@ -7,5 +7,6 @@
"integration_type": "service",
"iot_class": "local_polling",
"loggers": ["pyloadapi"],
"quality_scale": "platinum",
"requirements": ["PyLoadAPI==1.4.2"]
}

View File

@ -0,0 +1,82 @@
rules:
# Bronze
action-setup:
status: exempt
comment: The integration registers no actions.
appropriate-polling: done
brands: done
common-modules: done
config-flow-test-coverage: done
config-flow: done
dependency-transparency: done
docs-actions:
status: exempt
comment: The integration registers no actions.
docs-high-level-description: done
docs-installation-instructions: done
docs-removal-instructions: done
entity-event-setup:
status: exempt
comment: The integration registers no events.
entity-unique-id: done
has-entity-name: done
runtime-data: done
test-before-configure: done
test-before-setup: done
unique-config-entry: done
# Silver
action-exceptions:
status: exempt
comment: The integration registers no actions.
config-entry-unloading: done
docs-configuration-parameters:
status: exempt
comment: Integration has no configuration parameters
docs-installation-parameters: done
entity-unavailable: done
integration-owner: done
log-when-unavailable: done
parallel-updates: done
reauthentication-flow: done
test-coverage: done
# Gold
devices: done
diagnostics: done
discovery-update-info:
status: exempt
comment: The integration is a web service, there are no discoverable devices.
discovery:
status: exempt
comment: The integration is a web service, there are no discoverable devices.
docs-data-update: done
docs-examples: done
docs-known-limitations: done
docs-supported-devices:
status: exempt
comment: The integration is a web service, there are no devices.
docs-supported-functions: done
docs-troubleshooting: done
docs-use-cases: done
dynamic-devices:
status: exempt
comment: The integration is a web service, there are no devices.
entity-category: done
entity-device-class: done
entity-disabled-by-default: done
entity-translations: done
exception-translations: done
icon-translations: done
reconfiguration-flow: done
repair-issues:
status: exempt
comment: The integration has no repairs.
stale-devices:
status: exempt
comment: The integration is a web service, there are no devices.
# Platinum
async-dependency: done
inject-websession: done
strict-typing: done

10
mypy.ini generated
View File

@ -3716,6 +3716,16 @@ disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.pyload.*]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.python_script.*]
check_untyped_defs = true
disallow_incomplete_defs = true

View File

@ -812,7 +812,6 @@ INTEGRATIONS_WITHOUT_QUALITY_SCALE_FILE = [
"pushsafer",
"pvoutput",
"pvpc_hourly_pricing",
"pyload",
"qbittorrent",
"qingping",
"qld_bushfire",
@ -1890,7 +1889,6 @@ INTEGRATIONS_WITHOUT_SCALE = [
"pushsafer",
"pvoutput",
"pvpc_hourly_pricing",
"pyload",
"qbittorrent",
"qingping",
"qld_bushfire",