forked from MongoEngine/mongoengine
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (95 loc) · 2.52 KB
/
pyproject.toml
File metadata and controls
106 lines (95 loc) · 2.52 KB
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
[project]
name = "mongoengine"
version = "0.30.0"
description = "MongoEngine is a Python Object-Document Mapper for working with MongoDB."
authors = [
{ name = "Harry Marr", email = "harry.marr@gmail.com" }
]
maintainers = [
{ name = "Bastien Gerard", email = "bast.gerard@gmail.com" }
]
license = "MIT"
license-files = [
"LICENSE",
"AUTHORS",
]
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.10"
dependencies = [
"pymongo (>=4.14,<5.0)",
]
[dependency-groups]
dev = [
"ruff (>=0.14)",
"pre-commit (>=4.5)"
]
docs = [
"docutils==0.21.2",
"jinja2==3.1.6",
"readthedocs-sphinx-ext==2.2.5",
"sphinx==7.4.7",
"sphinx-rtd-theme==3.0.2",
]
test = [
"pytest (>=9.0)",
"pytest-asyncio (>=1.3)",
"pytest-cov (>=7.0)",
"coverage (>=7.13)",
"blinker (>=1.9)",
"pillow (>=7.0.0)",
"tox (>=4.32.0)",
"tox-uv>=1.29.0",
]
[project.urls]
homepage = "http://mongoengine.org/"
repository = "https://github.com/MongoEngine/mongoengine"
download_url = "https://github.com/MongoEngine/mongoengine/tarball/master"
[build-system]
requires = ["uv_build>=0.9.21,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "mongoengine"
module-root = ""
# Ruff Configurations
[tool.ruff]
#line-length = 79
exclude = ["docs"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"B", # flake8-bugbear
"I", # isort
]
ignore = [
"I002", # additional newline in imports
"W605", # invalid escape sequence
"B007", # loop control variable not used
]
[tool.ruff.lint.mccabe]
max-complexity = 47
[tool.ruff.lint.isort]
known-first-party = ["mongoengine", "tests"]
default-section = "third-party"
combine-as-imports = true
force-wrap-aliases = true
split-on-trailing-comma = true
lines-after-imports = 1