Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (80 loc) Β· 2.62 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (80 loc) Β· 2.62 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
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling>=1.27" ]
[project]
name = "pytailwindcss"
version = "0.4.2"
description = "Standalone Tailwind CSS CLI, installable via pip. Use Tailwind CSS without Node.js."
readme = "README.md"
keywords = [ "cli", "css", "tailwind" ]
license = "MIT"
license-files = [ "LICENSE" ]
authors = [ { name = "Tim Kamanin", email = "tim@timonweb.com" } ]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = []
urls.Changelog = "https://github.com/timonweb/pytailwindcss/blob/main/CHANGELOG.md"
urls.Homepage = "https://github.com/timonweb/pytailwindcss"
urls.Issues = "https://github.com/timonweb/pytailwindcss/issues"
urls.Source = "https://github.com/timonweb/pytailwindcss"
scripts.tailwindcss = "pytailwindcss.__main__:main"
scripts.tailwindcss_install = "pytailwindcss.__main__:install"
[dependency-groups]
dev = [
"mypy>=2.4",
"pre-commit>=4.6",
"pytest>=9.0.3",
"pytest-cov>=7",
"ruff>=0.17",
]
[tool.hatch]
build.targets.wheel.packages = [ "src/pytailwindcss" ]
build.targets.sdist.exclude = [ "assets" ]
[tool.ruff]
line-length = 119
lint.select = [ "B", "C4", "E", "F", "I", "SIM", "UP", "W" ]
[tool.repo-review]
ignore = [
"PY004", # README covers a package this size; no docs folder
"PY007", # uv run is the task runner
"PC170", # no reStructuredText in the repo
"PC180", # no markdown formatter: README is hand-formatted
"PC901", # pre-commit.ci not used; hooks run in GitHub Actions
"PC902",
"PC903",
"MY101", # mypy strict deliberately out of scope (moderate strictness)
]
[tool.pyproject-fmt]
max_supported_python = "3.14"
[tool.mypy]
files = [ "src", "tests" ]
python_version = "3.11"
warn_unused_ignores = true
warn_unreachable = true
enable_error_code = [ "ignore-without-code", "redundant-expr", "truthy-bool" ]
overrides = [ { module = "pytailwindcss.*", disallow_untyped_defs = true } ]
[tool.pytest]
addopts = [ "-ra" ]
filterwarnings = [ "error" ]
log_level = "INFO"
markers = [ "network: downloads real Tailwind CSS binaries from GitHub" ]
minversion = "9.0"
strict = true
testpaths = [ "tests" ]
[tool.coverage]
run.source = [ "pytailwindcss" ]
run.branch = true
report.show_missing = true