core/script/scaffold/templates
Steven Hartland 1a4738b1d4
Fix scaffolding integration generation (#138247)
* fix(scaffold): integration generation

Fix script.scaffold integration generation which was failing due to
hassfest quality check.

Add the required `quality_scale` to the generated integration
manifest.json.

Use the new `--skip-plugins` flag to skip the hassfest quality check
when generating integrations, as the quality scale rules are marked as
todo, and only run against the generated integration.

Correct typo in help for hassfest command `--plugins` flag.

Update Integration.core method to use absolute path to ensure it returns
the true if the integration is a core integration, which was causing
other checks to fail, as the integration was not being marked as core.

Always output subprocess output as it contains the error message when a
command fails, without this the user would not know why the command
failed.

Fixes: #128639

* Adjust comment language

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-11 16:24:04 +01:00
..
backup Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
config_flow Update scaffold to use internal _PLATFORM constant (#135177) 2025-01-09 12:41:29 +01:00
config_flow_discovery/integration Update scaffold to use internal _PLATFORM constant (#135177) 2025-01-09 12:41:29 +01:00
config_flow_helper Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
config_flow_oauth2 Update scaffold to use internal _PLATFORM constant (#135177) 2025-01-09 12:41:29 +01:00
device_action Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
device_condition Use service_calls fixture in scaffold (#119266) 2024-06-10 10:44:00 +02:00
device_trigger Update string formatting to use f-string on core codebase (#125988) 2024-09-19 14:31:13 +02:00
integration/integration Fix scaffolding integration generation (#138247) 2025-02-11 16:24:04 +01:00
reproduce_state Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
significant_change Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
ruff.toml Enable Ruff INP001 (#115082) 2024-04-08 15:43:58 +02:00