-
-
Notifications
You must be signed in to change notification settings - Fork 86
/
pyproject.toml
84 lines (79 loc) · 2.15 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
name = "djlint"
version = "1.36.3"
description = "HTML Template Linter and Formatter"
readme = "README.md"
license = { text = "GPL-3.0-or-later" }
maintainers = [
{ name = "Christopher Pickering" },
{ name = "monosans", email = "[email protected]" },
]
authors = [{ name = "Christopher Pickering" }]
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"click>=8.0.1",
"colorama>=0.4.4",
"cssbeautifier>=1.14.4",
"jsbeautifier>=1.14.4",
"json5>=0.9.11",
"pathspec>=0.12",
"pyyaml>=6",
"regex>=2023",
"tomli>=2.0.1; python_version<'3.11'",
"tqdm>=4.62.2",
]
urls.documentation = "https://djlint.com"
urls.repository = "https://github.com/djlint/djLint"
scripts.djlint = "djlint:main"
[dependency-groups]
dev = [
"mypy[faster-cache]==1.13",
"pytest==8.3.4",
"pytest-cov==6",
"pytest-xdist==3.6.1",
"ruff==0.8.1",
"tomli==2.2.1",
"types-colorama==0.4.15.20240311",
"types-pyyaml==6.0.12.20240917",
"types-regex==2024.11.6.20241108",
"types-tqdm==4.67.0.20241119",
"typing-extensions==4.12.2",
]
[tool.hatch.build.targets.sdist]
include = ["djlint", "mypy.ini"]
[tool.hatch.build.targets.wheel.hooks.mypyc]
dependencies = [
"click",
"hatch-mypyc",
"json5",
"types-colorama",
"types-pyyaml",
"types-regex",
"types-tqdm",
"typing-extensions",
]
enable-by-default = false
exclude = ["djlint/__main__.py"]
options = { opt_level = "3", debug_level = "0" }
[tool.cibuildwheel]
build = "cp*"
build-frontend = "build[uv]"
environment.HATCH_BUILD_HOOK_ENABLE_MYPYC = "1"
manylinux-x86_64-image = "manylinux_2_28"
skip = ["*-manylinux_i686", "*-musllinux_*", "*-win32"]