-
Notifications
You must be signed in to change notification settings - Fork 203
/
Copy pathpyproject.toml
85 lines (77 loc) · 2.02 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
[project]
name = "django-mongoengine"
description = "Django support for MongoDB via MongoEngine"
readme = {file = "README.rst", content-type = "text/x-rst"}
authors = [
{name = "Ross Lawley", email = "[email protected]"},
]
dynamic = ["version"]
license = {text = "BSD"}
requires-python = "<4.0,>=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: Django"
]
dependencies = [
"django<5,>=4.2",
"mongoengine>=0.14",
]
[project.urls]
"Homepage" = "https://github.com/mongoengine/django-mongoengine"
"Download" = "https://github.com/mongoengine/django-mongoengine/tarball/master"
[dependency-groups]
dev = [
"flake8",
"pdbpp",
"pytest",
"pytest-cov",
"pytest-django",
"pytest-sugar",
"ruff",
"sphinx",
"typing-extensions",
"mongo-types @ git+https://github.com/sbdchd/mongo-types.git@main",
"django-types",
"build>=1.2.2.post1",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"E",
"F",
"FA",
"T20",
"TCH",
"C4",
]
ignore = ["E501"]
[tool.ruff.lint.pyflakes]
extend-generics = [
"mongoengine.queryset.QuerySetManager",
"mongoengine.queryset.QuerySet",
"mongoengine.queryset.QuerySetNoCache",
"django_mongoengine.queryset.QuerySetManager",
"django_mongoengine.queryset.QuerySet",
"django_mongoengine.queryset.QuerySetNoCache",
]
[tool.ruff.format]
# Use `\n` line endings for all files
line-ending = "lf"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = ["django_mongoengine/**"]
[tool.hatch.build.targets.wheel]
packages = ["django_mongoengine"]
[tool.hatch.version]
source = "vcs"