-
Notifications
You must be signed in to change notification settings - Fork 141
/
pyproject.toml
110 lines (98 loc) · 2.8 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "django-datatable-view"
dynamic = ["version"]
description = "This package is used in conjunction with the jQuery plugin (http://http://datatables.net/), and supports state-saving detection with (http://datatables.net/plug-ins/api). The package consists of a class-based view, and a small collection of utilities for rendering table data from models."
readme = "README.md"
requires-python = ">=3.11"
authors = [
{ name = "Pivotal Energy Solutions", email = "[email protected]" },
]
keywords = [
"django",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
]
dependencies = [
"django>=5.0",
"python-dateutil",
]
[project.optional-dependencies]
test = [
"django-environ",
"mysqlclient",
"coverage",
"pre-commit",
"black",
"bandit",
"ruff"
]
docs = [
"Sphinx",
"sphinx-rtd-theme"
]
[project.urls]
Homepage = "https://github.com/pivotal-energy-solutions/django-datatable-view"
Download = "https://github.com/pivotal-energy-solutions/django-datatable-view"
Thanks = "https://saythanks.io/to/rh0dium"
Source = "https://github.com/pivotal-energy-solutions/django-datatable-view/"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.sdist]
include = [
"/datatableview",
"/datatableview/static/**/*",
"/datatableview/templates/**/*",
]
[tool.hatch.build.targets.wheel]
packages = ['datatableview']
include = [
"/datatableview/static/**/*",
"/datatableview/templates/**/*",
]
[tool.black]
line-length = 100
target-version = ['py311']
include = '\.pyi?$'
exclude = '(\.git|.venv|_build|build|dist|.*\/__pycache__\/)'
[tool.ruff]
line-length = 100
lint.ignore = ["F401"]
[tool.bandit]
targets = ['datatableview', "demo_app"]
exclude_dirs = ["datatableview/tests"]
skips = ["B303", "B308", "B323", "B324", "B703"]
[tool.coverage.run]
branch = true
command_line = "demo_app/manage.py test --noinput --settings=demo_app.settings_test datatableview"
omit = [
"*/demo_app/**",
"*/migrations/*",
"*/tests/**",
]
[tool.coverage.report]
fail_under = 69
precision = 1
skip_covered = true
skip_empty = true
ignore_errors = true
sort = "cover"
[tool.bumper]
exclude = [".idea", ".github", "demo_app"]
version_files = ["datatableview/__init__.py"]
repo = "pivotal-energy-solutions/django-datatable-view"
report = "out.json"