mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Add note about lint docker image
This commit is contained in:
parent
3b11aaed9b
commit
0bd3be8b67
@ -548,7 +548,6 @@ loader. These are:
|
|||||||
|
|
||||||
- ``ESP_PLATFORMS``: Provide a whitelist of ESP types this integration works with.
|
- ``ESP_PLATFORMS``: Provide a whitelist of ESP types this integration works with.
|
||||||
|
|
||||||
|
|
||||||
Codebase Standards
|
Codebase Standards
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
@ -591,6 +590,18 @@ Standard for the esphome-core codebase:
|
|||||||
implementations.
|
implementations.
|
||||||
- Please test your changes :)
|
- Please test your changes :)
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
You can also run the lint and travis checks through a docker image:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
# Full lint+test suite
|
||||||
|
docker run --rm -v "${PWD}/":/esphome -it esphome/esphome-lint script/fulltest
|
||||||
|
|
||||||
|
# Run lint only over changed files
|
||||||
|
docker run --rm -v "${PWD}/":/esphome -it esphome/esphome-lint script/quicklint
|
||||||
|
|
||||||
ESPHome via Gitpod
|
ESPHome via Gitpod
|
||||||
******************
|
******************
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user