mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 06:24:53 +01:00
Fix merge
This commit is contained in:
parent
163d0c55ab
commit
929600d7f7
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,6 @@ import codecs
|
||||||
import collections
|
import collections
|
||||||
import fnmatch
|
import fnmatch
|
||||||
import os.path
|
import os.path
|
||||||
import re
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
@ -263,6 +262,7 @@ def lint_constants_usage():
|
||||||
errors.append("Constant {} is defined in {} files. Please move all definitions of the "
|
errors.append("Constant {} is defined in {} files. Please move all definitions of the "
|
||||||
"constant to const.py (Uses: {})"
|
"constant to const.py (Uses: {})"
|
||||||
"".format(highlight(constant), len(uses), ', '.join(uses)))
|
"".format(highlight(constant), len(uses), ', '.join(uses)))
|
||||||
|
return errors
|
||||||
|
|
||||||
|
|
||||||
def relative_cpp_search_text(fname, content):
|
def relative_cpp_search_text(fname, content):
|
||||||
|
|
Loading…
Reference in a new issue