forked from art049/odmantic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (89 loc) · 3 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
[tool.poetry]
name = "ODMantic"
version = "0.3.1"
description = "ODMantic, an AsyncIO MongoDB Object Document Mapper for Python using type hints "
authors = ["Arthur Pastel <[email protected]>"]
license = "ISC License"
readme = "README.md"
repository = "https://github.com/art049/odmantic"
documentation = "https://art049.github.io/odmantic"
keywords = ["mongodb", "asyncio", "types", "pydantic", "motor"]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Internet",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Object Brokering",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Environment :: Web Environment",
"License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
]
include = ["LICENSE", "README.md"]
[tool.poetry.dependencies]
python = ">=3.6,<4.0"
importlib-metadata = { version = "^1.0", python = "<3.8" }
typing-extensions = { version = "^3.7.4.3", python = "<3.8" }
pydantic = ">=1.6.0,< 1.8.0"
motor = ">=2.1.0,<2.4.0"
fastapi = { version = "^0.61.1", optional = true }
[tool.poetry.extras]
fastapi = ["fastapi"]
[tool.poetry.dev-dependencies]
pytest = "~=6.0"
isort = "~=5.6.4"
black = { version = "*", allow-prereleases = true }
flake8 = "==3.8.3"
mypy = "^0.782"
coverage = { extras = ["toml"], version = "^5.3" }
pytest-xdist = "^2.1.0"
pytz = "^2020.1"
asyncmock = "^0.4.2"
mkdocstrings = "^0.13.2"
pydocstyle = "^5.1.1"
darglint = "^1.5.4"
ipython = "^7.16.1"
pytest-asyncio = "^0.14.0"
mkdocs-material = "^6.0.2"
uvicorn = "^0.12.1"
fastapi = "^0.61.1"
requests = "^2.24.0"
typer = "^0.3.2"
semver = "^2.13.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.isort]
line_length = 88
multi_line_output = 3
include_trailing_comma = true
use_parentheses = true
force_grid_wrap = 0
known_third_party = ["bson", "click", "fastapi", "motor", "pydantic", "pytest", "pytz", "semver", "typer", "uvicorn"]
known_first_party = ["odmantic", "tests"]
skip = ["docs"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore:\"@coroutine\" decorator is deprecated.*:DeprecationWarning:motor.*",
"ignore:the AIOEngineDependency object is deprecated.*:DeprecationWarning:odmantic.*",
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
include = ["odmantic/*"]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]