-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (93 loc) · 2.75 KB
/
Copy pathpyproject.toml
File metadata and controls
105 lines (93 loc) · 2.75 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sifty"
dynamic = ["version"]
description = "Windows maintenance CLI/TUI: sift junk, analyze disks, manage apps, updates and files. Recycle Bin only, dry-run by default."
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "Amine Zouaoui" }]
license = { text = "MIT" }
keywords = [
"windows", "maintenance", "cleaner", "junk", "disk-usage", "duplicates",
"uninstaller", "winget", "tui", "textual", "ollama",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
]
dependencies = [
"typer>=0.12",
"rich>=13.7",
"psutil>=5.9",
"send2trash>=1.8",
"pywin32>=306; sys_platform == 'win32'",
"winshell>=0.6; sys_platform == 'win32'",
"windows-toasts>=1.1; sys_platform == 'win32'",
"httpx>=0.27",
"textual>=0.60",
]
[project.urls]
Homepage = "https://sifty.tech"
Repository = "https://github.com/Vortrix5/sifty"
Issues = "https://github.com/Vortrix5/sifty/issues"
Changelog = "https://github.com/Vortrix5/sifty/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-mock>=3.12",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"textual-dev>=1.5",
"ruff>=0.4",
"pre-commit>=3.5",
]
[project.scripts]
sifty = "sifty.cli.app:entrypoint"
[tool.setuptools.dynamic]
version = { attr = "sifty.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
sifty = ["tui/*.tcss"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["sifty"]
branch = true
relative_files = true
omit = [
"src/sifty/__main__.py", # 3-line `python -m sifty` trampoline → entrypoint
]
[tool.coverage.report]
show_missing = true
exclude_also = [
"pragma: no cover", # honoured the existing in-source tags
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
"raise NotImplementedError",
"raise AssertionError",
]
[tool.ruff]
line-length = 120
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B"]
ignore = [
"E501", # line length is advisory; Rich markup strings run long
"B008", # `typer.Option(...)` in defaults is Typer's standard idiom
]