Skip to content

Commit b7e4bec

Browse files
committed
Mypy strict and ruff check passed
1 parent a3436b7 commit b7e4bec

File tree

6 files changed

+320
-325
lines changed

6 files changed

+320
-325
lines changed

src/shapefile/classes.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@
44
from datetime import date
55
from typing import Any, NamedTuple, Optional, SupportsIndex, overload
66

7-
from shapefile.constants import FIELD_TYPE_ALIASES, FieldType, ShapefileException
8-
from shapefile.shapes import NULL, Shape
9-
from shapefile.types import (
10-
FieldTypeT,
7+
from .constants import NULL
8+
from .exceptions import ShapefileException
9+
from .geojson_types import (
1110
GeoJSONFeature,
1211
GeoJSONFeatureCollection,
1312
GeoJSONGeometryCollection,
13+
)
14+
from .shapes import Shape
15+
from .types import (
16+
FIELD_TYPE_ALIASES,
17+
FieldType,
18+
FieldTypeT,
1419
RecordValue,
1520
)
1621

src/shapefile/geojson.py

Lines changed: 0 additions & 306 deletions
This file was deleted.

0 commit comments

Comments
 (0)