Skip to content

Commit

Permalink
formatting only
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Dec 3, 2024
1 parent 3188d65 commit 762fbc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ ignore = [
"E721", # Comparing types instead of isinstance
"E741", # Ambiguous variable names
"E501", # Conflicts with ruff format
"E722", # Bare except
]
select = [
# Pyflakes
Expand Down
4 changes: 2 additions & 2 deletions scripts/glas/01_cache_glas_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"outputs": [],
"source": [
"pip install git+https://github.com/pangeo-forge/pangeo-forge.git"
"%pip install git+https://github.com/pangeo-forge/pangeo-forge.git"
]
},
{
Expand Down Expand Up @@ -371,7 +371,7 @@
" print(f\"HTTPError {e.code}, {e.reason}\", filename)\n",
" except URLError as e:\n",
" print(f\"URLError: {e.reason}\", filename)\n",
" except OSError:\n",
" except OSError as e:\n",
" print(f\"IOError: {e.reason}\", filename)\n",
" except KeyboardInterrupt:\n",
" quit()\n",
Expand Down
2 changes: 1 addition & 1 deletion scripts/gridmet/01_gridmet_to_zarr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"ds_list = []\n",
"for v in variables:\n",
" print(v)\n",
" ds_list.append(xr.concat([source(variable=v, year=y).to_dask() for y in years], dim=\"day\"))"
" ds_list.append(xr.concat([source(variable=v, year=y).to_dask() for y in years], dim=\"day\")) # noqa"
]
},
{
Expand Down

0 comments on commit 762fbc1

Please sign in to comment.