Skip to content

Commit

Permalink
use f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Sep 13, 2023
1 parent 5c4a024 commit 4f46c2e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,12 @@
],
"source": [
"import requests\n",
"\n",
"test = \"acdd\"\n",
"\n",
"cc_url = f\"https://data.ioos.us/compliance/api/run?report_format=html&test={test}&url={url}\"\n",
"cc_url = (\n",
" f\"https://data.ioos.us/compliance/api/run?report_format=html&test={test}&url={url}\"\n",
")\n",
"print(cc_url)\n",
"\n",
"\n",
Expand All @@ -299,7 +302,9 @@
"source": [
"test = \"cf\"\n",
"\n",
"cc_url = f\"https://data.ioos.us/compliance/api/run?report_format=html&test={test}&url={url}\"\n",
"cc_url = (\n",
" f\"https://data.ioos.us/compliance/api/run?report_format=html&test={test}&url={url}\"\n",
")\n",
"print(cc_url)\n",
"\n",
"\n",
Expand Down

0 comments on commit 4f46c2e

Please sign in to comment.