fix indentation
parent
887e4d1b07
commit
65a6737423
|
@ -399,7 +399,7 @@ def run_check(dirs, names, prefix, suffix, exclude, unicode_version, coverage):
|
|||
msg = ''
|
||||
if unicode_version:
|
||||
msg = ' (%3.1f)' % unicode_version
|
||||
|
||||
|
||||
if (names and dirs):
|
||||
sys.exit("Please only provide a directory or a list of names")
|
||||
elif names:
|
||||
|
@ -407,8 +407,8 @@ def run_check(dirs, names, prefix, suffix, exclude, unicode_version, coverage):
|
|||
for name in names:
|
||||
name_to_dirpath[name] = ""
|
||||
elif dirs:
|
||||
print(f'Checking files with prefix "{prefix}" and suffix "{suffix}"{msg} in: {dirs}')
|
||||
name_to_dirpath = collect_name_to_dirpath_with_override(dirs, prefix=prefix, suffix=suffix, exclude=exclude)
|
||||
print(f'Checking files with prefix "{prefix}" and suffix "{suffix}"{msg} in: {dirs}')
|
||||
name_to_dirpath = collect_name_to_dirpath_with_override(dirs, prefix=prefix, suffix=suffix, exclude=exclude)
|
||||
|
||||
print(f'checking {len(name_to_dirpath)} names')
|
||||
seq_to_filepath = create_sequence_to_filepath(name_to_dirpath, prefix, suffix)
|
||||
|
|
Loading…
Reference in New Issue