This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
80 lines (74 loc) · 1.99 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
[project]
name = "mango-odm"
version = "0.4.1"
description = "🥭 Async MongoDB ODM with type hints in Python"
authors = [{ name = "Akirami", email = "[email protected]" }]
requires-python = ">=3.10,<4.0"
license = { text = "MIT" }
readme = "README.md"
keywords = [
"mongo",
"mongodb",
"async",
"asyncio",
"odm",
"types",
"pydantic",
"motor",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development",
"Topic :: Software Development :: Object Brokering",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"motor>=3.4.0",
"pydantic>=2.7.0",
"motor-types>=1.0.0b4",
]
[project.urls]
repository = "https://github.com/A-kirami/mango"
[tool.pdm.dev-dependencies]
dev = [
"ruff>=0.3.5",
"pre-commit>=3.7.0",
]
test = [
"pytest>=7.4.4",
"pytest-cov>=4.1.0",
"pytest-sugar>=1.0.0",
"allure-pytest>=2.13.2",
"pytest-asyncio>=0.23.4",
"hypothesis>=6.98.9",
"Faker>=23.2.1",
]
[tool.pdm.scripts]
lint = "ruff check"
"lint:fix" = "ruff check --fix"
format = "ruff format"
post_install = "pre-commit install"
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "basic"
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--cov=mango --cov-report=html --cov-report=xml --junit-xml=results.xml --cov-report=term-missing --alluredir=allure_report --clean-alluredir"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"