forked from Actionb/mizdb-tomselect
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
144 lines (131 loc) · 3.78 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[build-system]
requires = ["setuptools>=75.2"]
build-backend = "setuptools.build_meta"
[project]
name = "django-tomselect"
version = "2024.12.2"
description = "Django autocomplete widgets and views using Tom Select"
authors = [{ name = "Jack Linke", email = "[email protected]" }]
license = { text = "MIT" }
readme = "README.md"
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: User Interfaces",
"Topic :: Software Development :: Widget Sets",
]
requires-python = ">=3.10,<4.0"
dependencies = [
"django-htmx>=1.21.0",
"django>=4.2.15",
"pytest-asyncio>=0.25.0",
]
keywords = [
"django",
"autocomplete",
"tomselect",
"widget",
"forms",
"views",
"select",
"multiselect",
]
[project.urls]
Source = "https://github.com/OmenApps/django-tomselect"
Documentation = "https://django-tomselect.readthedocs.io/en/latest/"
Issues = "https://github.com/OmenApps/django-tomselect/issues"
Changelog = "https://github.com/OmenApps/django-tomselect/releases"
[tool.uv]
dev-dependencies = [
"bandit>=1.7.8",
"black>=24.4.2",
"coverage[toml]>=7.5.1",
"darglint>=1.8.1",
"django-extensions>=3.2.0",
"flake8-bugbear>=24.4.26",
"flake8-docstrings>=1.7.0",
"flake8-rst-docstrings>=0.3.0",
"flake8==7.0.0",
"furo>=2024.8.6",
"isort>=5.13.2",
"linkify-it-py==2.0.3",
"myst-parser>=4.0.0",
"nox>=2024.4.15",
"pep8-naming>=0.14.1",
"pre-commit-hooks>=4.6.0",
"pre-commit>=3.7.1",
"psycopg2-binary>=2.9.9",
"Pygments>=2.18.0",
"pytest-cov>=5.0.0",
"pytest-django>=4.9.0",
"pytest>=8.3.3",
"python-environ~=0.4",
"pyupgrade>=3.15.2",
"ruff~=0.7",
"safety>=3.2.0",
"sphinx-autobuild>=2024.4.16",
"sphinx-click>=6.0.0",
"sphinx>=8.0.2",
"Werkzeug>=3.0.0",
"xdoctest[colors]>=1.1.3",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
django_tomselect = [
"templates/**/*.html",
"static/**/*.js",
"static/**/*.css",
"static/**/*.map",
"locale/**/*.mo",
"locale/**/*.po",
]
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["example_project", "*/example_project"]
[tool.coverage.run]
branch = true
source = ["src", "example_project"]
[tool.coverage.report]
show_missing = true
fail_under = 50
omit = [".nox/*", "example_project/*", "**/migrations/*", "**/__init__.py"]
[tool.pytest.ini_options]
log_cli_level = "INFO"
DJANGO_SETTINGS_MODULE = "example_project.settings"
python_files = ["*test_*.py", "*_test.py", "example_project/*.py"]
log_cli = true
[tool.ruff]
src = ["src"]
target-version = "py311"
line-length = 120
select = [
"D", # pydocstyle
"E",
"W", # pycodestyle
"F", # flake8
"I", # isort
]
ignore = [
"D1", # D1: Missing docstring error codes (because not every function and class has a docstring)
"D203", # D203: 1 blank line required before class docstring (conflicts with D211 and should be disabled, see https://github.com/PyCQA/pydocstyle/pull/91)
"D205", # D205: 1 blank line required between summary line and description
"D212", # D212: Multi-line docstring summary should start at the first line
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.pycodestyle]
max-doc-length = 120