make compatible with 3.11

This commit is contained in:
AcerecA 2026-01-07 08:20:27 +01:00
parent e2431f2b21
commit 947dab097c
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ name = "mrpy-nvim"
version = "0.1.0" version = "0.1.0"
description = "Add your description here" description = "Add your description here"
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.11"
dependencies = [ dependencies = [
"pynvim~=0.6.0", "pynvim~=0.6.0",
"requests>=2.32.5", "requests>=2.32.5",

View File

@ -1,4 +1,4 @@
type JSONDataScalar = str | None | float | bool JSONDataScalar: TypeAlias = str | None | float | bool
type JSONDataList = list[JSONDataScalar | "JSONDataMap" | "JSONDataList"] JSONDataList: TypeAlias = list[JSONDataScalar | "JSONDataMap" | "JSONDataList"]
type JSONDataMap = dict[str, JSONDataScalar | JSONDataList | "JSONDataMap"] JSONDataMap: TypeAlias = dict[str, JSONDataScalar | JSONDataList | "JSONDataMap"]
type JSONData = JSONDataMap | JSONDataList JSONData: TypeAlias = JSONDataMap | JSONDataList