mirror of
https://github.com/esphome/esphome.git
synced 2025-09-07 05:42:20 +01:00
Updates
This commit is contained in:
@@ -45,6 +45,8 @@ def run_tidy(args, tmpdir, queue, lock, failed_files):
|
||||
invocation.append('-p=.')
|
||||
if args.quiet:
|
||||
invocation.append('-quiet')
|
||||
for arg in ['-Wfor-loop-analysis', '-Wshadow-field', '-Wshadow-field-in-constructor']:
|
||||
invocation.append('-extra-arg={}'.format(arg))
|
||||
invocation.append(os.path.abspath(path))
|
||||
invocation_s = ' '.join(shlex_quote(x) for x in invocation)
|
||||
|
||||
@@ -135,9 +137,6 @@ def build_compile_commands():
|
||||
command.append('-Wall')
|
||||
command.append('-Wno-delete-non-virtual-dtor')
|
||||
command.append('-Wno-unused-variable')
|
||||
command.append('-Wfor-loop-analysis')
|
||||
command.append('-Wshadow-field')
|
||||
command.append('-Wshadow-field-in-constructor')
|
||||
command.append('-Wunreachable-code')
|
||||
|
||||
source_files = []
|
||||
|
Reference in New Issue
Block a user