1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-05 06:33:31 +01:00

Lint trailing whitespace ()

This commit is contained in:
Otto Winter
2022-02-19 14:46:27 +01:00
committed by GitHub
parent ae57ad0c81
commit 34c9d8be50
7 changed files with 17 additions and 14 deletions
.github
CONTRIBUTING.md
esphome/components
fujitsu_general
ili9341
script
tests/component_tests/button

@ -591,6 +591,11 @@ def lint_inclusive_language(fname, match):
)
@lint_re_check(r"[\t\r\f\v ]+$")
def lint_trailing_whitespace(fname, match):
return "Trailing whitespace detected"
@lint_content_find_check(
"ESP_LOG",
include=["*.h", "*.tcc"],