From f06d7658e36db93196bc87d13ec44eaf89e81df1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 4 Jan 2025 19:40:33 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- rtree/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rtree/index.py b/rtree/index.py index e9d5b308..4e7ea09a 100644 --- a/rtree/index.py +++ b/rtree/index.py @@ -7,7 +7,7 @@ import pprint import warnings from collections.abc import Iterator, Sequence -from typing import Any, Generator, Literal, overload +from typing import Any, Literal, overload from . import core from .exceptions import RTreeError @@ -197,7 +197,6 @@ def __init__( "TPR-Tree type not supported with version of libspatialindex" ) - if filename: self.properties.storage = RT_Disk self.properties.filename = filename