mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
The ruff and ruff-format fixes
This commit is contained in:
parent
4f46fedd73
commit
6d8597addb
24 changed files with 48 additions and 79 deletions
|
|
@ -169,7 +169,7 @@ def ask_timezone(question, default, tzurl):
|
|||
r = tz_dict[r]
|
||||
break
|
||||
else:
|
||||
print("Please enter a valid time zone:\n" " (check [{}])".format(tzurl))
|
||||
print("Please enter a valid time zone:\n" f" (check [{tzurl}])")
|
||||
return r
|
||||
|
||||
|
||||
|
|
@ -205,14 +205,14 @@ def main():
|
|||
args = parser.parse_args()
|
||||
|
||||
print(
|
||||
"""Welcome to pelican-quickstart v{v}.
|
||||
f"""Welcome to pelican-quickstart v{__version__}.
|
||||
|
||||
This script will help you create a new Pelican-based website.
|
||||
|
||||
Please answer the following questions so this script can generate the files
|
||||
needed by Pelican.
|
||||
|
||||
""".format(v=__version__)
|
||||
"""
|
||||
)
|
||||
|
||||
project = os.path.join(os.environ.get("VIRTUAL_ENV", os.curdir), ".project")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue