Minor alignment of CLI formatting commands (#25946)

This commit is contained in:
Joel Challis 2026-01-11 20:37:34 +00:00 • committed by GitHub
commit adbd077b15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View file

@ -47,7 +47,7 @@ def format_python(cli):
if not files:
cli.log.error('No Python files in filelist: %s', ', '.join(map(str, cli.args.files)))
exit(0)
return False
if cli.args.all_files:
cli.log.warning('Filenames passed with -a, only formatting: %s', ','.join(map(str, files)))