build(pre-commit.ci): pre-commit autoupdate #999
Annotations
10 errors and 1 warning
Run pre-commit/action@v3.0.0:
srai/embedders/geovex/embedder.py#L132
Replace `len(dataset.get_invalid_cells()) > 0` with `dataset.get_invalid_cells()`
|
Run pre-commit/action@v3.0.0:
srai/embedders/gtfs2vec/embedder.py#L293
Replace `open(path / "config.json", "w")` with `path / "config.json".open("w")`
|
Run pre-commit/action@v3.0.0:
srai/embedders/hex2vec/embedder.py#L234
Replace `open(path / "config.json", "w")` with `path / "config.json".open("w")`
|
Run pre-commit/action@v3.0.0:
srai/embedders/highway2vec/embedder.py#L178
Replace `open(path / "config.json", "w")` with `path / "config.json".open("w")`
|
Run pre-commit/action@v3.0.0:
srai/loaders/osm_loaders/filters/popular.py#L64
Replace `lambda t: t["in_wiki"]` with `operator.itemgetter("in_wiki")`
|
Run pre-commit/action@v3.0.0:
srai/loaders/osm_loaders/filters/popular.py#L66
Replace `lambda t: (t["key"], t["value"])` with `operator.itemgetter("key", "value")`
|
Run pre-commit/action@v3.0.0:
srai/neighbourhoods/_base.py#L73
Replace `lambda x: x[0]` with `operator.itemgetter(0)`
|
Run pre-commit/action@v3.0.0:
srai/neighbourhoods/_base.py#L99
Replace `lambda x: x[0]` with `operator.itemgetter(0)`
|
Run pre-commit/action@v3.0.0:
tests/h3/test_shapely_conversion.py#L21
Replace function with `operator.itemgetter(GEOMETRY_COLUMN)`
|
Run pre-commit/action@v3.0.0:
tests/neighbourhoods/test_adjacency_neighbourhood.py#L100
Replace `neighbourhood.get_neighbours(1) == set()` with `not neighbourhood.get_neighbours(1)`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading