Skip to content

Commit 01413e9

Browse files
[pre-commit.ci] pre-commit autoupdate (pysal#656)
* [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 <[email protected]>
1 parent 23e0995 commit 01413e9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
files: "momepy\/|docs\/"
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: "v0.5.0"
4+
5+
rev: "v0.6.9"
56
hooks:
67
- id: ruff
78
- id: ruff-format

docs/user_guide/graph/convert.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@
569569
}
570570
],
571571
"source": [
572-
"streets['position'] = range(len(streets))\n",
572+
"streets[\"position\"] = range(len(streets))\n",
573573
"streets.head()"
574574
]
575575
},

docs/user_guide/migration.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"outputs": [],
1717
"source": [
1818
"import geopandas as gpd\n",
19-
"from libpysal import graph, weights\n",
20-
"\n",
2119
"import momepy\n",
20+
"from libpysal import graph\n",
2221
"\n",
2322
"buildings = gpd.read_file(\n",
2423
" momepy.datasets.get_path(\"bubenec\"), layer=\"buildings\"\n",

0 commit comments

Comments
 (0)