From c0b151b9f8fdd7947640d30f7c0bf682b29a49d4 Mon Sep 17 00:00:00 2001 From: Bryn Pickering <17178478+brynpickering@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:16:43 +0000 Subject: [PATCH] Run pre-commit --- tests/test_activityhandler.py | 3 +-- tests/test_autotree.py | 3 +-- tests/test_cli.py | 1 - tests/test_config.py | 1 - tests/test_helpers.py | 3 +-- 5 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/test_activityhandler.py b/tests/test_activityhandler.py index ca8b6fd..c51d73d 100644 --- a/tests/test_activityhandler.py +++ b/tests/test_activityhandler.py @@ -1,9 +1,8 @@ import os import pytest -from shapely.geometry import Point, Polygon - from osmox import build, config, helpers +from shapely.geometry import Point, Polygon fixtures_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "fixtures")) toy_osm_path = os.path.join(fixtures_root, "toy.osm") diff --git a/tests/test_autotree.py b/tests/test_autotree.py index 7fe7d8c..c14fe09 100644 --- a/tests/test_autotree.py +++ b/tests/test_autotree.py @@ -1,8 +1,7 @@ import os -from shapely.geometry import Point, Polygon - from osmox import build, helpers +from shapely.geometry import Point, Polygon 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") diff --git a/tests/test_cli.py b/tests/test_cli.py index 43153a2..6d08b96 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -4,7 +4,6 @@ import pytest from click.testing import CliRunner - from osmox import cli logging.basicConfig(level=logging.INFO) diff --git a/tests/test_config.py b/tests/test_config.py index f193704..3538d3c 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,7 +1,6 @@ import os import pytest - from osmox import config root = os.path.abspath(os.path.join(os.path.dirname(__file__), "fixtures")) diff --git a/tests/test_helpers.py b/tests/test_helpers.py index 1c40feb..1afe5bf 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -1,7 +1,6 @@ import pytest -from shapely.geometry import Polygon - from osmox import helpers +from shapely.geometry import Polygon @pytest.mark.parametrize(