Skip to content

Commit

Permalink
style: format code with Black
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in c2fc86b according to the output
from Black.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Nov 16, 2023
1 parent c2fc86b commit 0504057
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def main():
elif length_type.lower() == "license":
print("Running Calculator Copyright (C) 2022-2023 @willtheorangeguy")
print(
"This program comes with ABSOLUTELY NO WARRANTY;" \
" for details view the license."
"This program comes with ABSOLUTELY NO WARRANTY;"
" for details view the license."
)
print("This is free software, and you are welcome to redistribute it")
print("under certain conditions; view the license for details. \n")
Expand Down Expand Up @@ -143,8 +143,8 @@ def main():
secs = float(input("How many seconds did it take you? "))
except ValueError:
print(
"Values must be in numerical form, " \
"and only seconds can be a decimal! \n"
"Values must be in numerical form, "
"and only seconds can be a decimal! \n"
)
time_run = True

Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ def readme():
setup(
name="running-calculator",
version="1.6.0",
description=("A running distance and speed command line interface."
" Measures in metric and imperial units,"
" as well as marathons and half-marathons."),
description=(
"A running distance and speed command line interface."
" Measures in metric and imperial units,"
" as well as marathons and half-marathons."
),
long_description=readme(),
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit 0504057

Please sign in to comment.