-
Notifications
You must be signed in to change notification settings - Fork 461
/
pyproject.toml
73 lines (63 loc) · 1.72 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "django-mptt"
dynamic = ["version"]
description = "Utilities for implementing Modified Preorder Tree Traversal with your Django Models and working with trees of Model instances."
readme = "README.rst"
license = {text="MIT-License"}
requires-python = ">=3.9"
authors = [
{ name = "Craig de Stigter", email = "craig.ds@gmail.com" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"django-js-asset",
]
[project.optional-dependencies]
tests = [
"coverage[toml]",
"mock-django",
]
[project.urls]
Homepage = "https://github.com/django-mptt/django-mptt/"
[tool.hatch.version]
path = "mptt/__init__.py"
[tool.hatch.build]
include = ["/mptt"]
[tool.ruff]
extend-select = ["B", "E", "F", "W", "C90", "I", "N", "UP", "FBT", "C4", "DJ", "PIE", "INT", "SIM", "YTT", "G", "RUF"]
extend-ignore = ["E501"]
fix = true
target-version = "py39"
[tool.ruff.isort]
combine-as-imports = true
lines-after-imports = 2
[tool.ruff.mccabe]
max-complexity = 10
[tool.coverage.run]
branch = true
omit = [
"*migrate*",
"*migrations*",
"*venv*",
]
[tool.coverage.report]
skip_covered = true
show_missing = true