-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (111 loc) · 2.73 KB
/
pyproject.toml
File metadata and controls
124 lines (111 loc) · 2.73 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["setuptools>=80.10"]
build-backend = "setuptools.build_meta"
[project]
name = "django-stratagem"
version = "2026.2.1b3"
description = "Registry-based plugin architecture for Django applications"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Jack Linke", email = "jack@watervize.com" },
]
keywords = ["django", "registry", "plugin", "strategy", "pattern", "extensible"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
dependencies = [
"django>=4.2",
]
[project.optional-dependencies]
drf = [
"djangorestframework>=3.14",
]
waffle = [
"django-waffle>=4.0",
]
[project.urls]
Homepage = "https://github.com/OmenApps/django-stratagem"
Documentation = "https://django-stratagem.readthedocs.io/en/latest/"
Repository = "https://github.com/OmenApps/django-stratagem"
Issues = "https://github.com/OmenApps/django-stratagem/issues"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
django_stratagem = [
"templates/**/*.html",
"static/**/*.js",
]
[tool.ruff]
src = ["src"]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["E", "W", "F", "I"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["django_stratagem"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
django_find_project = false
pythonpath = ["."]
python_files = ["test_*.py"]
log_cli = true
[tool.coverage.run]
branch = true
source_pkgs = ["django_stratagem"]
[tool.coverage.report]
show_missing = true
omit = [
".nox/*",
"*/migrations/*",
"*/__init__.py",
]
[tool.coverage.paths]
source = [
"src",
"*/site-packages",
]
[dependency-groups]
dev = [
"bandit",
"coverage[toml]",
"djangorestframework",
"nox",
"pip-audit",
"pre-commit",
"pre-commit-hooks",
"pytest",
"pytest-cov",
"pytest-django",
"pytest-mock",
"pytest-subtests",
"pytest-timeout",
"pyupgrade",
"ruff",
]
docs = [
"furo==2024.8.6",
"linkify-it-py==2.0.3",
"myst-parser==4.0.1",
"sphinx==8.2.3",
"sphinx-copybutton==0.5.2",
"sphinx-togglebutton==0.3.2",
"sphinxcontrib-mermaid==1.0.0",
]