fix lint issue

This commit is contained in:
Christian Semmler 2024-05-14 08:07:15 -04:00
parent 8ad98d12a8
commit 7dc6293cca

View File

@ -81,6 +81,7 @@ def process_files(files, module=None):
def main(): def main():
args = parse_args() args = parse_args()
files_to_check = []
if os.path.isdir(args.target): if os.path.isdir(args.target):
files_to_check = list(walk_source_dir(args.target)) files_to_check = list(walk_source_dir(args.target))
elif os.path.isfile(args.target) and is_file_cpp(args.target): elif os.path.isfile(args.target) and is_file_cpp(args.target):