-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
203 lines (181 loc) · 4.53 KB
/
pyproject.toml
File metadata and controls
203 lines (181 loc) · 4.53 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "bootlace"
dynamic = ["version"]
description = 'Pythonic Bootstrap Utilities'
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
keywords = []
authors = [{ name = "Alex Rudy", email = "github@alexrudy.net" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"attrs>=25.3.0",
"domilite>=0.1.3",
"flask>=3.1.0",
"html5lib>=1.1",
"marshmallow>=3.26.1",
"marshmallow-oneofschema>=3.1.1",
"wtforms>=3.2.1",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/bootlace/_version.py"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[project.urls]
Documentation = "https://github.com/alexrudy/bootlace#readme"
Issues = "https://github.com/alexrudy/bootlace/issues"
Source = "https://github.com/alexrudy/bootlace"
[tool.hatch.build.targets.sdist]
include = ["src/"]
[tool.pytest.ini_options]
testpaths = "tests"
filterwarnings = """
error
ignore:There is no current event loop:DeprecationWarning:dominate.*
"""
addopts = [
"--cov-report=term-missing",
"--cov-config=pyproject.toml",
"--cov=bootlace",
]
log_level = "NOTSET"
[tool.coverage.run]
branch = true
source = ["src/bootlace", "tests"]
omit = ["src/bootlace/_version.py", "src/bootlace/testing/*"]
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
"def __hash__",
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"except BaseException:",
"\\.\\.\\.",
"if app is not None:",
]
omit = ["src/bootlace/_version.py", "src/bootlace/testing/*"]
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
[tool.ruff.lint.isort]
force-single-line = true
[tool.mypy]
files = "src/bootlace"
python_version = "3.11"
show_error_codes = true
allow_redefinition = true
disallow_subclassing_any = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
no_implicit_optional = true
local_partial_types = true
no_implicit_reexport = true
strict_equality = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "wtforms.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_subclassing_any = false
[[tool.mypy.overrides]]
module = "html5lib.*"
ignore_missing_imports = true
[tool.uv.sources]
bootlace = { workspace = true }
# domilite = { path = "../domilite", editable = true }
[dependency-groups]
dev = [
"attrs>=25.3.0",
"black>=25.1.0",
"bootlace",
"build>=1.2.2.post1",
"bump2version>=1.0.1",
"domilite",
"flake8>=7.2.0",
"flake8-bugbear>=24.12.12",
"flake8-implicit-str-concat>=0.5.0",
"flake8-typing-imports>=1.16.0",
"flask>=3.1.0",
"hatchling>=1.27.0",
"html5lib>=1.1",
"marshmallow>=3.26.1",
"marshmallow-oneofschema>=3.1.1",
"mypy>=1.15.0",
"pip-compile-multi>=2.8.0",
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
"pytz>=2025.2",
"sphinx>=8.2.3",
"sphinx-automodapi>=0.18.0",
"sphinx-mdinclude>=0.6.2",
"tox>=4.25.0",
"tox-uv>=1.25.0",
"twine>=6.1.0",
"types-pytz>=2025.2.0.20250326",
"types-pyyaml>=6.0.12.20250402",
"types-wtforms>=3.2.1.20250401",
"watchdog>=6.0.0",
"wtforms>=3.2.1",
]
docs = [
"attrs>=25.3.0",
"domilite",
"flask>=3.1.0",
"html5lib>=1.1",
"marshmallow>=3.26.1",
"marshmallow-oneofschema>=3.1.1",
"pytz>=2025.2",
"sphinx>=8.2.3",
"sphinx-automodapi>=0.18.0",
"sphinx-mdinclude>=0.6.2",
"wtforms>=3.2.1",
]
tests = [
"attrs>=25.3.0",
"domilite",
"flask>=3.1.0",
"html5lib>=1.1",
"marshmallow>=3.26.1",
"marshmallow-oneofschema>=3.1.1",
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
"wtforms>=3.2.1",
]
typing = [
"attrs>=25.3.0",
"domilite",
"flask>=3.1.0",
"html5lib>=1.1",
"marshmallow>=3.26.1",
"marshmallow-oneofschema>=3.1.1",
"mypy>=1.15.0",
"types-pytz>=2025.2.0.20250326",
"types-pyyaml>=6.0.12.20250402",
"types-wtforms>=3.2.1.20250401",
"wtforms>=3.2.1",
]