mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 11:52:20 +01:00
Merge remote-tracking branch 'origin/dev' into nrf52
This commit is contained in:
@@ -476,7 +476,7 @@ def lint_no_byte_datatype(fname, match):
|
||||
def lint_constants_usage():
|
||||
errs = []
|
||||
for constant, uses in CONSTANTS_USES.items():
|
||||
if len(uses) < 4:
|
||||
if len(uses) < 3:
|
||||
continue
|
||||
errs.append(
|
||||
f"Constant {highlight(constant)} is defined in {len(uses)} files. Please move all definitions of the "
|
||||
|
Reference in New Issue
Block a user