-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (114 loc) · 3.19 KB
/
pyproject.toml
File metadata and controls
126 lines (114 loc) · 3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[project]
name = "redis-om"
version = "1.1.0"
description = "Object mappings, and more, for Redis."
authors = [{ name = "Redis OSS", email = "oss@redis.com" }]
maintainers = [{ name = "Redis OSS", email = "oss@redis.com" }]
license = { text = "BSD-3-Clause" }
readme = "README.md"
requires-python = ">=3.10,<4.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Database",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python",
]
dependencies = [
"redis>=4.2.0,<8.0.0",
"pydantic>=2.0.0,<3.0.0",
"click>=8.0.1",
"types-redis>=3.5.9,<5.0.0",
"python-ulid>=1.0.3,<=3.1.0",
"typing-extensions>=4.4.0",
"hiredis>=2.2.3,<4.0.0",
"more-itertools>=8.14,<11.0",
"setuptools>=70.0",
"pydantic-extra-types>=2.10.5",
"redisvl>=0.16.0",
]
[project.urls]
Repository = "https://github.com/redis/redis-om-python"
Code = "https://github.com/redis/redis-om-python"
"Issue tracker" = "https://github.com/redis/redis-om-python/issues"
[project.scripts]
om = "aredis_om.cli.main:om"
[project.optional-dependencies]
examples = [
"fastapi>=0.128.0",
"flask>=3.1.2",
"uvicorn>=0.40.0",
"httpx>=0.28.1",
"asgi-lifespan>=2.1.0",
]
[dependency-groups]
dev = [
"mypy>=1.9.0; platform_python_implementation == 'CPython'",
"pytest>=8.0.2,<10.0.0",
"ipdb>=0.13.9",
"ruff>=0.9.0",
"bandit>=1.7.4",
"coverage>=7.1",
"pytest-cov>=5,<8",
"pytest-xdist>=3.1.0",
"unasync>=0.6.0",
"pytest-asyncio>=0.24,<1.4",
"email-validator>=2.0.0",
"tox>=4.14.1",
"tox-pyenv>=1.1.0",
"codespell>=2.2.0",
"pre-commit>=4.3.0; python_version >= '3.10'",
"mkdocs>=1.6.1",
"mkdocs-material>=9.7.1",
"pytest-benchmark>=5.2.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["aredis_om", "redis_om"]
# Include generated sync code (redis_om/) that is in .gitignore
# These files are created by `make sync` before building
artifacts = [
"redis_om/**/*",
"tests_sync/**/*",
]
[tool.hatch.build.targets.sdist]
include = [
"aredis_om/**/*",
"redis_om/**/*",
]
# Include generated sync code (redis_om/) that is in .gitignore
artifacts = [
"redis_om/**/*",
"tests_sync/**/*",
]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
]
ignore = [
"E231", # missing whitespace after ','
"E501", # line too long (handled by formatter)
"E712", # comparison to True/False
"E731", # do not assign a lambda expression
"F401", # imported but unused (needed for re-exports)
]
[tool.ruff.lint.isort]
known-first-party = ["aredis_om", "redis_om"]
lines-after-imports = 2
[tool.mypy]
ignore_missing_imports = true
disable_error_code = ["annotation-unchecked"]