Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ci:

repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
rev: 26.1.0
hooks:
- id: black
args: [
Expand Down
1 change: 0 additions & 1 deletion examples/setup_example_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT
import trackintel as ti


# This script will remove the following table from your database!
# It will then, however, repopulate it with new data.
database_name = "trackintel-tests"
Expand Down
6 changes: 2 additions & 4 deletions tests/geogr/test_distances.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ def gdf_lineStrings():
@pytest.fixture
def single_linestring():
"""Construct LineString that has ~1024 m in QGIS."""
return wkt.loads(
"""LineString(13.47671401745228259
return wkt.loads("""LineString(13.47671401745228259
48.57364142178052901, 13.47510901146785933
48.5734004715611789, 13.47343656825720082
48.57335585102421049, 13.47172366271079369
Expand All @@ -49,8 +48,7 @@ def single_linestring():
48.57348971251707326, 13.46473716607271243
48.57319521676494389, 13.46319959731452798
48.57253482611510975, 13.46319959731452798
48.57253482611510975)"""
)
48.57253482611510975)""")


@pytest.fixture
Expand Down
8 changes: 2 additions & 6 deletions trackintel/model/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ def decorator(decorated):
_shared_docs = {}

# in _shared_docs as all write_postgis_xyz functions use this docstring
_shared_docs[
"write_postgis"
] = """
_shared_docs["write_postgis"] = """
Stores {long} to PostGIS. Usually, this is directly called on a {long}
DataFrame (see example below).

Expand Down Expand Up @@ -210,9 +208,7 @@ def decorator(decorated):
>>> ti.io.write_{long}_postgis({short}, conn_string, table_name)
"""

_shared_docs[
"write_csv"
] = """
_shared_docs["write_csv"] = """
Write {long} to csv file.

Wraps the pandas to_csv function.
Expand Down
1 change: 0 additions & 1 deletion trackintel/visualization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from .plotting import plot_osm_streets
from .plotting import plot_modal_split


__all__ = [
"plot",
"plot_osm_streets",
Expand Down
Loading