diff --git a/osm_fieldwork/basemapper.py b/osm_fieldwork/basemapper.py
index 5e642582..68fc4661 100755
--- a/osm_fieldwork/basemapper.py
+++ b/osm_fieldwork/basemapper.py
@@ -20,7 +20,6 @@
import argparse
import concurrent.futures
-import geojson
import logging
import queue
import re
@@ -29,6 +28,7 @@
from pathlib import Path
from typing import Union
+import geojson
import mercantile
from cpuinfo import get_cpu_info
from pmtiles.tile import (
diff --git a/osm_fieldwork/osmfile.py b/osm_fieldwork/osmfile.py
index b18356ba..a9afcaad 100755
--- a/osm_fieldwork/osmfile.py
+++ b/osm_fieldwork/osmfile.py
@@ -200,7 +200,9 @@ def createWay(
for ref in way["refs"]:
osm += '\n ' % ref
- import epdb; epdb.st()
+ import epdb
+
+ epdb.st()
if "tags" in way:
for key, value in way["tags"].items():
if value is None:
@@ -211,7 +213,7 @@ def createWay(
newkey = escape(key)
newval = escape(str(value))
osm += f"\n "
- if modified and key != 'note':
+ if modified and key != "note":
osm += '\n '
osm += "\n"
@@ -301,7 +303,7 @@ def createNode(
newkey = escape(key)
newval = escape(str(value))
osm += f"\n "
- if modified and key != 'note':
+ if modified and key != "note":
osm += '\n '
osm += "\n \n"
else:
diff --git a/tests/test_basemap.py b/tests/test_basemap.py
index 55dc8cd3..7ee678b7 100755
--- a/tests/test_basemap.py
+++ b/tests/test_basemap.py
@@ -65,5 +65,6 @@ def test_create():
assert hits == 2
+
if __name__ == "__main__":
test_create()