Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 2, 2024
1 parent 7d28106 commit 5c9ab85
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/static/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import jsonschema2md
import mkdocs.plugins
from mkdocs.structure.files import File

from osmox.config import SCHEMA

TEMPDIR = tempfile.TemporaryDirectory()
Expand Down
3 changes: 2 additions & 1 deletion tests/test_activityhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

import geopandas as gpd
import pytest
from osmox import build, config, helpers
from shapely.geometry import Point, Polygon

from osmox import build, config, helpers

fixtures_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "fixtures"))
toy_osm_path = os.path.join(fixtures_root, "toy.osm")
park_osm_path = os.path.join(fixtures_root, "park.osm")
Expand Down
3 changes: 2 additions & 1 deletion tests/test_autotree.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import os

from osmox import build, helpers
from shapely.geometry import Point, Polygon

from osmox import build, helpers

root = os.path.abspath(os.path.join(os.path.dirname(__file__), "data"))
test_osm_path = os.path.join(root, "isle-of-man-latest.osm.pbf")

Expand Down
1 change: 1 addition & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import pytest
from click.testing import CliRunner

from osmox import cli, helpers

logging.basicConfig(level=logging.INFO)
Expand Down
1 change: 1 addition & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import jsonschema
import pytest

from osmox import config

root = os.path.abspath(os.path.join(os.path.dirname(__file__), "fixtures"))
Expand Down
3 changes: 2 additions & 1 deletion tests/test_helpers.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import geopandas as gpd
import pytest
from geopandas.testing import assert_geodataframe_equal
from osmox import helpers
from shapely.geometry import Polygon

from osmox import helpers


@pytest.mark.parametrize(
"a,b,expected",
Expand Down

0 comments on commit 5c9ab85

Please sign in to comment.