-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (78 loc) · 2.12 KB
/
pyproject.toml
File metadata and controls
88 lines (78 loc) · 2.12 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
[project]
name = "rg-forms"
version = "0.1.0"
description = "Reactive Django forms with Datastar integration - declarative field visibility, dependencies, computed fields"
readme = "README.md"
authors = [
{ name = "Oleksii Koval", email = "alex@koval.kharkov.ua" },
]
maintainers = [
{ name = "Raccoon Gang", email = "contact@raccoongang.com" },
]
requires-python = ">=3.12"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
keywords = ["django", "forms", "reactive", "datastar", "htmx"]
dependencies = [
"datastar-py>=0.8.0",
"django>=5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-django>=4.8",
"pytest-cov>=4.1",
"ruff>=0.4",
"mypy>=1.10",
"django-stubs>=5.0",
"pre-commit>=3.7",
]
docs = [
"mkdocs-material>=9.5",
"mkdocs>=1.6",
]
all = [
"rg-forms[dev]",
"rg-forms[docs]",
]
[tool.ruff]
target-version = "py312"
line-length = 120
exclude = ["examples/"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "DJ"]
[tool.mypy]
python_version = "3.12"
plugins = ["mypy_django_plugin.main"]
strict = true
exclude = ["examples/"]
[project.urls]
Homepage = "https://github.com/raccoongang/rg.forms"
Documentation = "https://raccoongang.github.io/rg.forms"
Repository = "https://github.com/raccoongang/rg.forms"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = ["examples/", "docs/"]
[tool.hatch.build.targets.wheel]
packages = ["src/rg"]
[tool.django-stubs]
django_settings_module = "tests.settings"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
python_files = ["test_*.py"]
pythonpath = ["."]
addopts = "-v --tb=short"