Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#656)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.5.0](astral-sh/ruff-pre-commit@v0.4.9...v0.5.0)

* lint

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.6.9](astral-sh/ruff-pre-commit@v0.5.0...v0.6.9)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* lint

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
  • Loading branch information
pre-commit-ci[bot] and martinfleis authored Oct 8, 2024
1 parent 23e0995 commit 01413e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
files: "momepy\/|docs\/"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.0"

rev: "v0.6.9"
hooks:
- id: ruff
- id: ruff-format
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/graph/convert.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@
}
],
"source": [
"streets['position'] = range(len(streets))\n",
"streets[\"position\"] = range(len(streets))\n",
"streets.head()"
]
},
Expand Down
3 changes: 1 addition & 2 deletions docs/user_guide/migration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"outputs": [],
"source": [
"import geopandas as gpd\n",
"from libpysal import graph, weights\n",
"\n",
"import momepy\n",
"from libpysal import graph\n",
"\n",
"buildings = gpd.read_file(\n",
" momepy.datasets.get_path(\"bubenec\"), layer=\"buildings\"\n",
Expand Down

0 comments on commit 01413e9

Please sign in to comment.