forked from tiliv/django-bootstrap-templatetags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (94 loc) · 2.68 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "django-bootstrap-templatetags"
dynamic = ["version"]
description = "Vanilla Bootstrap structures in simple rendering blocks"
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",
]
[project.optional-dependencies]
test = [
"django-environ",
"mysqlclient",
"coverage",
"pre-commit",
"black",
"bandit",
"ruff"
]
[project.urls]
Homepage = "https://github.com/pivotal-energy-solutions/django-bootstrap-templatetags"
Issues = "https://github.com/pivotal-energy-solutions/django-bootstrap-templatetags/issues"
Download = "https://github.com/pivotal-energy-solutions/django-bootstrap-templatetags"
Thanks = "https://saythanks.io/to/rh0dium"
Source = "https://github.com/pivotal-energy-solutions/django-bootstrap-templatetags/"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.sdist]
include = [
"/bootstrap_templatetags",
"/bootstrap_templatetags/templates/**/*",
"/bootstrap_templatetags/static/**/*",
]
[tool.hatch.build.targets.wheel]
packages = ['bootstrap_templatetags']
include = [
"/bootstrap_templatetags/templates/**/*",
"/bootstrap_templatetags/static/**/*",
]
[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 = ['bootstrap_templatetags']
exclude_dirs = ["bootstrap_templatetags/tests.py", "demo"]
skips = ["B308", "B703", ]
[tool.coverage.run]
branch = true
command_line = "demo/manage.py test --noinput --settings=demo.settings_test bootstrap_templatetags"
omit = [
"*/demo/**",
"*/migrations/*",
"*/tests/**",
]
[tool.coverage.report]
fail_under = 65
precision = 1
skip_covered = true
skip_empty = true
ignore_errors = true
sort = "cover"
[tool.bumper]
exclude = [".idea", ".github", "demo"]
version_files = ["bootstrap_templatetags/__init__.py"]
repo = "pivotal-energy-solutions/django-bootstrap-templatetags"
report = "out.json"