Skip to content

Commit 5c9ab85

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7d28106 commit 5c9ab85

6 files changed

+9
-3
lines changed

docs/static/hooks.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import jsonschema2md
55
import mkdocs.plugins
66
from mkdocs.structure.files import File
7+
78
from osmox.config import SCHEMA
89

910
TEMPDIR = tempfile.TemporaryDirectory()

tests/test_activityhandler.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
import geopandas as gpd
44
import pytest
5-
from osmox import build, config, helpers
65
from shapely.geometry import Point, Polygon
76

7+
from osmox import build, config, helpers
8+
89
fixtures_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "fixtures"))
910
toy_osm_path = os.path.join(fixtures_root, "toy.osm")
1011
park_osm_path = os.path.join(fixtures_root, "park.osm")

tests/test_autotree.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import os
22

3-
from osmox import build, helpers
43
from shapely.geometry import Point, Polygon
54

5+
from osmox import build, helpers
6+
67
root = os.path.abspath(os.path.join(os.path.dirname(__file__), "data"))
78
test_osm_path = os.path.join(root, "isle-of-man-latest.osm.pbf")
89

tests/test_cli.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import pytest
77
from click.testing import CliRunner
8+
89
from osmox import cli, helpers
910

1011
logging.basicConfig(level=logging.INFO)

tests/test_config.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import jsonschema
55
import pytest
6+
67
from osmox import config
78

89
root = os.path.abspath(os.path.join(os.path.dirname(__file__), "fixtures"))

tests/test_helpers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import geopandas as gpd
22
import pytest
33
from geopandas.testing import assert_geodataframe_equal
4-
from osmox import helpers
54
from shapely.geometry import Polygon
65

6+
from osmox import helpers
7+
78

89
@pytest.mark.parametrize(
910
"a,b,expected",

0 commit comments

Comments
 (0)