1
0
Fork 0
forked from github/pelican

More ruff fixes in files: stop ignoring C408, UP007, PLR5501, B006

This commit is contained in:
boxydog 2024-05-30 13:21:12 -05:00
commit 7577dd7603
16 changed files with 72 additions and 82 deletions

View file

@ -1095,7 +1095,7 @@ def fields2pelican(
if posts_require_pandoc:
logger.error(
"Pandoc must be installed to import the following posts:" "\n {}".format(
"Pandoc must be installed to import the following posts:\n {}".format(
"\n ".join(posts_require_pandoc)
)
)
@ -1232,7 +1232,7 @@ def main():
exit(error)
if args.wp_attach and input_type != "wordpress":
error = "You must be importing a wordpress xml " "to use the --wp-attach option"
error = "You must be importing a wordpress xml to use the --wp-attach option"
exit(error)
if input_type == "blogger":