Skip to content

Commit

Permalink
Pass pre-commit on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
nhuet committed May 7, 2024
1 parent f9c8a69 commit 5b5d199
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions notebooks/11_maze_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@
" !chmod +x minizinc.AppImage\n",
" !./minizinc.AppImage --appimage-extract\n",
" os.environ[\"PATH\"] = f\"{os.getcwd()}/squashfs-root/usr/bin/:{os.environ['PATH']}\"\n",
" os.environ[\n",
" \"LD_LIBRARY_PATH\"\n",
" ] = f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\"\n",
" os.environ[\"LD_LIBRARY_PATH\"] = (\n",
" f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\"\n",
" )\n",
"\n",
" # download notebook utils\n",
" !wget https://raw.githubusercontent.com/airbus/scikit-decide/master/notebooks/maze_utils.py"
Expand Down
6 changes: 3 additions & 3 deletions notebooks/12_gym_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@
" !chmod +x minizinc.AppImage\n",
" !./minizinc.AppImage --appimage-extract\n",
" os.environ[\"PATH\"] = f\"{os.getcwd()}/squashfs-root/usr/bin/:{os.environ['PATH']}\"\n",
" os.environ[\n",
" \"LD_LIBRARY_PATH\"\n",
" ] = f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\""
" os.environ[\"LD_LIBRARY_PATH\"] = (\n",
" f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\"\n",
" )"
]
},
{
Expand Down
12 changes: 6 additions & 6 deletions notebooks/13_scheduling_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@
" !chmod +x minizinc.AppImage\n",
" !./minizinc.AppImage --appimage-extract\n",
" os.environ[\"PATH\"] = f\"{os.getcwd()}/squashfs-root/usr/bin/:{os.environ['PATH']}\"\n",
" os.environ[\n",
" \"LD_LIBRARY_PATH\"\n",
" ] = f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\"\n",
" os.environ[\"LD_LIBRARY_PATH\"] = (\n",
" f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\"\n",
" )\n",
"\n",
" # download input file\n",
" !wget https://raw.githubusercontent.com/airbus/scikit-decide/master/notebooks/j12052_1.sm"
Expand Down Expand Up @@ -985,9 +985,9 @@
"# time to the same 300 seconds limit\n",
"dict_params[\"parameters_cp\"] = params_cp\n",
"dict_params[\"max_time_seconds\"] = 300\n",
"dict_params[\n",
" \"nb_iteration_lns\"\n",
"] = 10000 # dummy value, we want that the max_time_seconds to be the limiting param\n",
"dict_params[\"nb_iteration_lns\"] = (\n",
" 10000 # dummy value, we want that the max_time_seconds to be the limiting param\n",
")\n",
"dict_params[\"verbose\"] = False\n",
"\n",
"# Let's create our solver with the given feature\n",
Expand Down
6 changes: 3 additions & 3 deletions notebooks/14_benchmarking_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
" !chmod +x minizinc.AppImage\n",
" !./minizinc.AppImage --appimage-extract\n",
" os.environ[\"PATH\"] = f\"{os.getcwd()}/squashfs-root/usr/bin/:{os.environ['PATH']}\"\n",
" os.environ[\n",
" \"LD_LIBRARY_PATH\"\n",
" ] = f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\""
" os.environ[\"LD_LIBRARY_PATH\"] = (\n",
" f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\"\n",
" )"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions notebooks/15_flightplanning_tuto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
" !chmod +x minizinc.AppImage\n",
" !./minizinc.AppImage --appimage-extract\n",
" os.environ[\"PATH\"] = f\"{os.getcwd()}/squashfs-root/usr/bin/:{os.environ['PATH']}\"\n",
" os.environ[\n",
" \"LD_LIBRARY_PATH\"\n",
" ] = f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\""
" os.environ[\"LD_LIBRARY_PATH\"] = (\n",
" f\"{os.getcwd()}/squashfs-root/usr/lib/:{os.environ['LD_LIBRARY_PATH']}\"\n",
" )"
]
},
{
Expand Down

0 comments on commit 5b5d199

Please sign in to comment.