-
Notifications
You must be signed in to change notification settings - Fork 205
/
pyproject.toml
47 lines (44 loc) · 1.05 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
[tool.poetry]
name = "django-mongoengine"
version = "0.4.6"
description = "Django support for MongoDB via MongoEngine"
authors = ["Ross Lawley <[email protected]>"]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
django = ">=4.2,<5"
mongoengine = ">=0.14"
[tool.poetry.group.dev.dependencies]
flake8 = "*"
pdbpp = "*"
pytest = "*"
pytest-cov = "*"
pytest-django = "*"
pytest-sugar = "*"
ruff = "^0.1.3"
sphinx = "*"
typing-extensions = "^4.8.0"
mongo-types = { git = "https://github.com/sbdchd/mongo-types.git", branch = "main" }
django-types = "^0.19.1"
[tool.ruff]
line-length = 100
select = [
"E",
"F",
"FA",
"T20",
"TCH",
"C4",
]
ignore = ["E501"]
[tool.ruff.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"