forked from sopherapps/pydantic-redis
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
92 lines (82 loc) · 2.63 KB
/
pyproject.toml
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
[tool.poetry]
name = "pydantic-aioredis"
version = "1.4.0"
description = "Use your pydantic models as an ORM, storing data in Redis."
authors = ["Andrew Herrington <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/andrewthetechie/pydantic-aioredis"
repository = "https://github.com/andrewthetechie/pydantic-aioredis"
documentation = "https://pydantic-aioredis.readthedocs.io/en/latest/"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Framework :: AsyncIO"
]
[tool.poetry.urls]
Changelog = "https://github.com/andrewthetechie/pydantic-aioredis/releases"
[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^1.10.2"
redis = ">=4.4.4,<6.0.0"
anyio = ">=3.6.2,<5.0.0"
fastapi = {version = ">=0.110", optional = true}
fastapi-crudrouter = {version = "^0.8.6", optional = true}
[tool.poetry.extras]
FastAPI= ['fastapi']
fastapi-crudrouter=['fastapi-crudrouter']
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
coverage = {extras = ["toml"], version = ">=6.5,<8.0"}
safety = ">=2.3.1,<4.0.0"
mypy = ">=0.991,<1.11"
xdoctest = {extras = ["colors"], version = "^1.1.0"}
sphinx = ">=4.3.2,<8.0.0"
sphinx-autobuild = ">=2021.3.14"
pre-commit = ">=2.12.1"
pep8-naming = ">=0.13.2,<0.15.0"
reorder-python-imports = "^3.9.0"
pre-commit-hooks = "^4.2.0"
Pygments = "^2.13.0"
pyupgrade = "^3.3.1"
furo = ">=2021.11.12"
pytest-cov = ">=4,<6"
types-croniter = ">=1.3.2,<3.0.0"
pytest_async = "^0.1.1"
pytest-asyncio = ">=0.20.1,<0.22.0"
pytest-mock = "^3.10.0"
pytest-lazy-fixture = "^0.6.3"
fastapi = ">=0.6.3"
fastapi-crudrouter = ">=0.8.4"
httpx = ">=0.23,<0.28"
pytest-env = ">=0.8.1,<1.2.0"
pytest-xdist = "^3.1.0"
bandit = "^1.7.8"
fakeredis = {extras = ["json"], version = "2.23.2"}
hypothesis = "^6.61.0"
pytest-rerunfailures = ">=11.1,<15.0"
ruff = "^0.4.2"
[tool.mypy]
strict = true
warn_unreachable = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.bandit]
exclude_dirs = ["test", "noxfile.py", ".github/scripts", "dist", "examples/*"]
[tool.pytest.ini_options]
addopts = "-n 4 --ignore examples --cov=pydantic_aioredis --cov-report xml:.coverage.xml --cov-report=term-missing --cov-fail-under 85"
[tool.ruff]
line-length = 120
target-version = "py38"