forked from cunla/fakeredis-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
104 lines (94 loc) · 2.56 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
93
94
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = ["poetry_core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "fakeredis"
packages = [
{ include = "fakeredis" },
]
version = "2.16.0"
description = "Python implementation of redis API, can be used for testing purposes."
readme = "README.md"
keywords = ["redis", "RedisJson", ]
authors = [
"Daniel Moran <[email protected]>",
"Bruce Merry <[email protected]>",
"James Saryerwinnie <[email protected]>",
]
maintainers = [
"Daniel Moran <[email protected]>",
]
license = "BSD-3-Clause"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Development Status :: 6 - Mature',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries :: Python Modules',
]
homepage = "https://github.com/cunla/fakeredis-py"
repository = "https://github.com/cunla/fakeredis-py"
documentation = "https://fakeredis.readthedocs.io/"
include = [
{ path = "test", format = "sdist" },
]
[tool.poetry.dependencies]
python = "^3.7"
redis = ">=4"
sortedcontainers = "^2"
lupa = { version = "^1.14", optional = true }
jsonpath-ng = { version = "^1.5", optional = true }
[tool.poetry.extras]
lua = ["lupa"]
json = ["jsonpath-ng"]
[tool.poetry.dev-dependencies]
coverage = "^7"
flake8 = { version = "^6", python = ">=3.8.1" }
flake8-pyproject = { version = "^1", python = ">=3.8.1" }
hypothesis = "^6.70"
mypy = "^1"
pygithub = "^1.58.2"
pytest = "^7.4"
pytest-asyncio = "^0.21"
pytest-cov = "^4.0"
pytest-mock = "^3.10"
types-redis = "^4.5"
twine = "^4.0"
tox = "^4.6"
tox-docker = "^4"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/cunla/fakeredis-py/issues"
"Funding" = "https://github.com/sponsors/cunla"
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"fake: run tests only with fake redis",
"real: run tests with a locally running real Redis server",
"disconnected",
"min_server",
"max_server",
"decode_responses",
]
asyncio_mode = "strict"
[tool.mypy]
files = [
"fakeredis/**/*.py",
"test/**/*.py",
]
packages = ['fakeredis', ]
follow_imports = "silent"
ignore_missing_imports = true
scripts_are_modules = true
[tool.flake8]
max-line-length = 119
exclude = [
'.venv',
'.github',
'__pycache__',
]