Skip to content

Commit

Permalink
lint jupyter notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed May 20, 2024
1 parent 74f9cf8 commit 3899672
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs_jupyter/debug_divvy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
],
"source": [
"import divvy\n",
"\n",
"divvy.setup_divvy_logger(\"DEBUG\", devmode=True)"
]
}
Expand Down
13 changes: 9 additions & 4 deletions docs_jupyter/tutorial_divvy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"outputs": [],
"source": [
"import divvy\n",
"dcc = divvy.ComputingConfiguration()\n"
"\n",
"dcc = divvy.ComputingConfiguration()"
]
},
{
Expand Down Expand Up @@ -116,7 +117,9 @@
}
],
"source": [
"dcc.write_script(\"test_local.sub\", {\"code\": \"run-this-command\", \"logfile\": \"logfile.txt\"})"
"dcc.write_script(\n",
" \"test_local.sub\", {\"code\": \"run-this-command\", \"logfile\": \"logfile.txt\"}\n",
")"
]
},
{
Expand Down Expand Up @@ -276,7 +279,7 @@
}
],
"source": [
"s = dcc.write_script(\"test_script.sub\", {\"code\":\"yellow\"})"
"s = dcc.write_script(\"test_script.sub\", {\"code\": \"yellow\"})"
]
},
{
Expand Down Expand Up @@ -341,7 +344,9 @@
}
],
"source": [
"s = dcc.write_script(\"test_script.sub\", [{\"code\":\"red\"}, {\"code\": \"yellow\", \"time\": \"now\"}])"
"s = dcc.write_script(\n",
" \"test_script.sub\", [{\"code\": \"red\"}, {\"code\": \"yellow\", \"time\": \"now\"}]\n",
")"
]
},
{
Expand Down

0 comments on commit 3899672

Please sign in to comment.