forked from msiemens/tinydb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
123 lines (109 loc) · 3.22 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[tool.poetry]
name = "async-tinydb"
version = "1.7.3"
description = "Yet Another Async TinyDB"
authors = ["VermiIIi0n <[email protected]>", "Markus Siemens <[email protected]>", ]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/VermiIIi0n/async-tinydb"
keywords = ["database", "nosql", "async"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"Typing :: Typed",
]
packages = [
{ include = "asynctinydb" }
]
[tool.poetry.group.dev.dependencies]
autopep8 = "^2.0.2"
types-ujson = "^5.9.0.0"
types-cachetools = "^5.3.0.7"
py = "^1.11.0"
mypy = "^1.9.0"
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--verbose --cov-append --cov-report term --cov asynctinydb --cov-config .coveragerc"
filterwarnings = ["ignore::DeprecationWarning:coverage"]
[tool.mypy]
enable_error_code = [
"type-var",
"call-overload",
"abstract",
"override",
"unused-awaitable",
"unused-coroutine",
"var-annotated",
"index",
"assignment",
"var-annotated",
"misc",
"redundant-cast",
"comparison-overlap",
"redundant-expr",
"truthy-bool"
]
disable_error_code = ["type-arg", "no-untyped-def", "no-untyped-call", "no-redef"]
plugins = "asynctinydb/mypy_plugin.py"
ignore_missing_imports = true
no_implicit_optional = false
warn_redundant_casts = true
warn_unused_ignores = true
show_column_numbers = true
show_error_context = true
warn_unreachable = false
show_error_codes = true
warn_return_any = false
warn_no_return = true
show_traceback = false
color_output = true
pretty = true
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[tool.poetry.urls]
"Issues" = "https://github.com/VermiIIi0n/async-tinydb/issues"
[tool.poetry.dependencies]
python = "^3.10"
nest-asyncio = "^1.5.5"
ujson = ">5.4.0"
pycryptodome = {version = "^3.15.0", optional = true}
Brotli = {version = "^1.0.9", optional = true}
blosc2 = {version = "^0.4.1", optional = true}
vermils = "^0.3.5"
cachetools = "^5.3.0"
[tool.poetry.extras]
encryption = ["pycryptodome"]
compression = ["Brotli", "blosc2"]
all = ["pycryptodome", "Brotli", "blosc2"]
[tool.poetry.dev-dependencies]
pytest = ">6.2.5"
pytest-codestyle = ">1.4.0"
pytest-cov = ">2.8.1"
pycodestyle = ">2.5.0"
sphinx = "^2.2.1"
coveralls = ">1.8.2"
pyyaml = "^6.0.1"
pytest-mypy = { version = ">0.8.1", markers = "platform_python_implementation != 'PyPy'" }
types-PyYAML = ">6.0.1"
types-cachetools = "^5.3.0.5"
types-ujson = ">5.5.0"
typing-extensions = { version = ">3.10.0" }
pytest-asyncio = ">0.19.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"