Skip to content

Commit fd3f623

Browse files
[pre-commit.ci] pre-commit autoupdate (#659)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black-pre-commit-mirror: 25.12.0 → 26.1.0](psf/black-pre-commit-mirror@25.12.0...26.1.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 5003a0c commit fd3f623

5 files changed

Lines changed: 5 additions & 13 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ci:
1313

1414
repos:
1515
- repo: https://github.com/psf/black-pre-commit-mirror
16-
rev: 25.12.0
16+
rev: 26.1.0
1717
hooks:
1818
- id: black
1919
args: [

examples/setup_example_database.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT
66
import trackintel as ti
77

8-
98
# This script will remove the following table from your database!
109
# It will then, however, repopulate it with new data.
1110
database_name = "trackintel-tests"

tests/geogr/test_distances.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def gdf_lineStrings():
3838
@pytest.fixture
3939
def single_linestring():
4040
"""Construct LineString that has ~1024 m in QGIS."""
41-
return wkt.loads(
42-
"""LineString(13.47671401745228259
41+
return wkt.loads("""LineString(13.47671401745228259
4342
48.57364142178052901, 13.47510901146785933
4443
48.5734004715611789, 13.47343656825720082
4544
48.57335585102421049, 13.47172366271079369
@@ -49,8 +48,7 @@ def single_linestring():
4948
48.57348971251707326, 13.46473716607271243
5049
48.57319521676494389, 13.46319959731452798
5150
48.57253482611510975, 13.46319959731452798
52-
48.57253482611510975)"""
53-
)
51+
48.57253482611510975)""")
5452

5553

5654
@pytest.fixture

trackintel/model/util.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ def decorator(decorated):
167167
_shared_docs = {}
168168

169169
# in _shared_docs as all write_postgis_xyz functions use this docstring
170-
_shared_docs[
171-
"write_postgis"
172-
] = """
170+
_shared_docs["write_postgis"] = """
173171
Stores {long} to PostGIS. Usually, this is directly called on a {long}
174172
DataFrame (see example below).
175173
@@ -210,9 +208,7 @@ def decorator(decorated):
210208
>>> ti.io.write_{long}_postgis({short}, conn_string, table_name)
211209
"""
212210

213-
_shared_docs[
214-
"write_csv"
215-
] = """
211+
_shared_docs["write_csv"] = """
216212
Write {long} to csv file.
217213
218214
Wraps the pandas to_csv function.

trackintel/visualization/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from .plotting import plot_osm_streets
33
from .plotting import plot_modal_split
44

5-
65
__all__ = [
76
"plot",
87
"plot_osm_streets",

0 commit comments

Comments
 (0)