-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (53 loc) · 1.32 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
[tool.poetry]
name = "mongospecs"
version = "0.1.4"
description = "simple mongo ODM with support for msgspec, pydantic, and attrs"
authors = ["Jay <[email protected]>"]
repository = "https://github.com/jaykv/mongospecs"
readme = "README.md"
packages = [{include = "mongospecs"}]
[tool.poetry.dependencies]
python = "^3.9"
msgspec = "^0.18.4"
pymongo = "^4.5.0"
methodtools = "^0.4.7"
blinker = "^1.6.3"
typing-extensions = "^4.8.0"
[tool.poetry.group.pydantic.dependencies]
pydantic = "^2.5.2"
[tool.poetry.group.attrs.dependencies]
attrs = "^23.1.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
ruff = "^0.3.0"
mypy = "^1.3.0"
mongomock = "^4.1.2"
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^9.4.12"
mkdocstrings = "^0.24.0"
mkdocstrings-python = "^1.7.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = ["I"]
ignore-init-module-imports = true
ignore = ["F811"]
[tool.mypy]
#plugins = ["pydantic.mypy"]
follow_imports = "silent"
ignore_missing_imports = true
show_error_codes = true
enable_error_code = [
"truthy-bool",
"truthy-iterable",
"redundant-expr",
"unused-awaitable",
"possibly-undefined",
"redundant-self"
]
[[tool.mypy.overrides]]
module = "yaml"
ignore_missing_imports = true