-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (78 loc) · 2.31 KB
/
pyproject.toml
File metadata and controls
88 lines (78 loc) · 2.31 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
[project]
name = "tailwhip"
version = "0.13.0"
description = "A pure Python Tailwind CSS class sorter that works with any HTML or CSS file, including Django templates and other template languages."
readme = "README.md"
authors = [
{ name = "Martin Mahner", email = "martin@mahner.org" }
]
license = "MIT"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3 :: Only",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.11"
dependencies = [
"dynaconf",
"rich",
"typer",
"wcmatch",
]
[project.urls]
Homepage = "https://github.com/bartTC/tailwhip/"
Repository = "https://github.com/bartTC/tailwhip/"
Documentation = "https://barttc.github.io/tailwhip/"
Changelog = "https://github.com/bartTC/tailwhip/blob/main/CHANGELOG.md"
"Bug Tracker" = "https://github.com/bartTC/tailwhip/issues"
[dependency-groups]
dev = [
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
]
[project.scripts]
tailwhip = "tailwhip:main"
[tool.setuptools.package-data]
tailwhip = ["configuration.toml"]
[tool.uv]
package = true
[tool.ruff]
target-version = "py39"
lint.select = ["ALL"]
lint.ignore = [
# Valid exclusions.
"COM812", # Conflicts with ruff format
"E501", # Line too long (>88)
"D203", # incorrect-blank-line-before-class (conflicts with D211)
"D212", # Don't require summary on first line
"ERA001", # Found commented-out code
"FBT", # Flake Boolean Trap (don't use arg=True in functions)
"FIX", # Line contains TODO/FIXME. Consider resolving.
"T201", # print found
]
[tool.ruff.lint.extend-per-file-ignores]
"test*.py" = [
"S101", # Use of `assert` detected
"PLR2004", # Magic value used in comparison, consider replacing <int> with a constant variable
]
[tool.pytest.ini_options]
python_files = ["*.py"]
[tool.coverage]
run.omit = [
"tailwhip/tests/*",
]
report.exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]