fix indentation

pull/315/head
guidotheelen 2020-08-18 15:25:50 +02:00
parent 887e4d1b07
commit 65a6737423
1 changed files with 3 additions and 3 deletions

View File

@ -399,7 +399,7 @@ def run_check(dirs, names, prefix, suffix, exclude, unicode_version, coverage):
msg = '' msg = ''
if unicode_version: if unicode_version:
msg = ' (%3.1f)' % unicode_version msg = ' (%3.1f)' % unicode_version
if (names and dirs): if (names and dirs):
sys.exit("Please only provide a directory or a list of names") sys.exit("Please only provide a directory or a list of names")
elif names: elif names:
@ -407,8 +407,8 @@ def run_check(dirs, names, prefix, suffix, exclude, unicode_version, coverage):
for name in names: for name in names:
name_to_dirpath[name] = "" name_to_dirpath[name] = ""
elif dirs: elif dirs:
print(f'Checking files with prefix "{prefix}" and suffix "{suffix}"{msg} in: {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) name_to_dirpath = collect_name_to_dirpath_with_override(dirs, prefix=prefix, suffix=suffix, exclude=exclude)
print(f'checking {len(name_to_dirpath)} names') print(f'checking {len(name_to_dirpath)} names')
seq_to_filepath = create_sequence_to_filepath(name_to_dirpath, prefix, suffix) seq_to_filepath = create_sequence_to_filepath(name_to_dirpath, prefix, suffix)