Skip to content

Commit

Permalink
map and forecast surf data
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansurf committed Jun 3, 2024
1 parent f1defec commit f13c3d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@
gpt_info = [api_key, model]


def run(lat=0, long=0):
def run(lat=0, long=0, args=None):
"""
Main function
"""
# Seperates the cli args into a list
args = helper.seperate_args(sys.argv)
if args is None:
args = helper.seperate_args(sys.argv)
else:
args = helper.seperate_args(args)

# return coordinates, lat, long, city
location = api.seperate_args_and_get_location(args)
Expand Down

1 comment on commit f13c3d6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src
   __init__.py00100% 
   api.py86693%30, 48, 70–71, 103–104
   art.py9367%24–25, 37
   cli.py25580%26, 37, 53–54, 58
   dev_streamlit.py35350%1–91
   gpt.py10640%16–21, 32–45
   helper.py1435264%50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 81, 92–96, 129–137, 149, 162–163, 181–183, 193, 195–196, 218–219, 256–266, 273–281
   send_email.py24240%5–48
   server.py41410%5–82
   settings.py220100% 
TOTAL39517256% 

Tests Skipped Failures Errors Time
9 0 💤 0 ❌ 0 🔥 14.984s ⏱️

Please sign in to comment.