Skip to content

Commit

Permalink
Fix black-jupyter pre-commit hook config
Browse files Browse the repository at this point in the history
Fixes #1156
  • Loading branch information
chuckwondo committed Sep 26, 2023
1 parent 1849222 commit bfcb91b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
language: python
require_serial: true
types_or: [python, pyi, jupyter]
additional_dependencies: [".[jupyter]"]
additional_dependencies: ["black[jupyter]"]

- id: codespell
name: codespell
Expand Down
4 changes: 3 additions & 1 deletion docs/tutorials/pystac-spacenet-tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@
"source": [
"bounds = [\n",
" list(\n",
" GeometryCollection([shape(s.geometry) for s in spacenet.get_items(recursive=True)]).bounds\n",
" GeometryCollection(\n",
" [shape(s.geometry) for s in spacenet.get_items(recursive=True)]\n",
" ).bounds\n",
" )\n",
"]\n",
"vegas.extent.spatial = pystac.SpatialExtent(bounds)"
Expand Down

0 comments on commit bfcb91b

Please sign in to comment.