-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (88 loc) · 2.64 KB
/
Copy pathpyproject.toml
File metadata and controls
109 lines (88 loc) · 2.64 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/terser/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/terser"]
[tool.hatch.build.targets.force-include]
"src/alpha93/commons" = "alpha93/commons"
"src/alpha93/progression" = "alpha93/progression"
[project]
name = "py-terser"
description = "Fork of python-minifier: transform Python project into its most compact representation"
keywords = ["minify", "minifier", "uglify", "uglifier", "mangler", "compressor"]
authors = [{ name = "Alpha", email = "dev@alpha93.kr" }]
readme = "README.md"
license = "MIT"
license-files = ["LICENSE.md"]
dynamic = ["version"]
classifiers = [
"Environment :: Console",
"Environment :: Plugins",
"Framework :: Hatch",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Pre-processors",
"Topic :: Text Processing :: General",
"Topic :: Utilities",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
#"Programming Language :: Python :: 3.15", # TODO
"Programming Language :: Python :: Free Threading",
"Programming Language :: Python :: Free Threading :: 3 - Stable",
"Programming Language :: Python :: Implementation :: CPython",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
]
requires-python = ">=3.10"
dependencies = [
"anyio>=4.14.2",
"hatchling>=1.17",
]
[dependency-groups]
trio = [
"trio>=0.33.0",
]
cli = [
"pydantic>=2.13.4",
"tqdm>=4.68.4",
]
hatchling = [
"hatchling>=1.31.0",
]
dev = [
"ruff>=0.15.22",
"ty>=0.0.61",
]
[project.urls]
source = "https://github.com/MadeByAlpha/py-terser.git"
issues = "https://github.com/MadeByAlpha/py-terser/issues"
[project.scripts]
terser = "terser.cli:main"
[project.entry-points.hatch]
terser = "terser.hooks"
[tool.ruff]
src = ["src"]
target-version = "py314" # INTENDED: due to type annotations
show-fixes = true
unsafe-fixes = true
[tool.ruff.analyze]
detect-string-imports = true
preview = true
[tool.ruff.lint]
future-annotations = true
ignore = [
"E731",
]
[tool.ty.environment]
root = ["./src"]
python-version = "3.14" # INTENDED: due to type annotations