developers.home-assistant/docs/development_checklist.md
2018-04-29 14:10:56 -04:00

1.0 KiB

title
Development Checklist

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

  • All dependencies from pypi are included via the REQUIREMENTS variable in your platform or component and only imported inside functions that use them
  • New dependencies are added to requirements_all.txt (if applicable), using script/gen_requirements_all.py
  • The .coveragerc file is updated to exclude your platform if there are no tests available or your new code uses a third-party library for communication with the device, service, or sensor
  • Documentation is developed for home-assistant.io
    • It's OK to start with adding a docstring with configuration details (for example, sample entry for configuration.yaml file) to the file header. Visit the website documentation for more information about contributing to home-assistant.io.