developers.home-assistant/docs/development_checklist.md
Erik Montnemery adb09ecf85
Clarify external packages must have source code published (#2172)
* Clarify external packages must have source code published

* Improve language

* Improve language

* Update docs/api_lib_index.md

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update docs/creating_component_code_review.md

* Update docs/api_lib_index.md

* Update docs/api_lib_index.md

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-08-27 14:25:29 +02:00

1.5 KiB

title, sidebar_label
title sidebar_label
Development checklist Introduction

Before you commit any changes, check your work against these requirements:

  • All communication to external devices or services must be wrapped in an external Python library hosted on pypi.
    • The library must have source distribution packages available; it's not allowed to rely on packages that only have binary distribution packages.
    • Issue trackers must be enabled for external Python libraries that communicate with external devices or services.
    • If the library is mainly used for Home Assistant and you are a code owner of the integration, it is encouraged to use an issue template picker with links to Home Assistant Core Issues. For example: zwave-js-server-python - New Issue
  • New dependencies are added to requirements_all.txt (if applicable), using python3 -m script.gen_requirements_all
  • New codeowners are added to CODEOWNERS (if applicable), using python3 -m script.hassfest
  • The .strict-typing file is updated to include your code if it provides a fully type hinted source.
  • The code is formatted using Ruff (ruff format).
  • Documentation is developed for home-assistant.io