diff --git a/plugin/utils.py b/plugin/utils.py index 7c5dbe4..e77e260 100644 --- a/plugin/utils.py +++ b/plugin/utils.py @@ -10,7 +10,7 @@ import zipfile from collections.abc import Iterable from pathlib import Path -from typing import IO, Any, Union +from typing import Any, IO, Union PathLike = Union[Path, str] diff --git a/pyproject.toml b/pyproject.toml index c1a4c94..0aebd07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,6 +70,12 @@ ignore = ["E203"] [tool.ruff.lint.per-file-ignores] "boot.py" = ["E402"] +[tool.ruff.lint.isort] +case-sensitive = true +combine-as-imports = true +order-by-type = false +required-imports = ["from __future__ import annotations"] + [tool.ty.environment] extra-paths = ["./typings"] python-version = "3.8"