-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
146 lines (132 loc) · 3.03 KB
/
Copy pathpyproject.toml
File metadata and controls
146 lines (132 loc) · 3.03 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "cleanmac"
version = "0.1.0"
description = "AI-first zero-resident macOS cleanup CLI with MCP-ready dry-run plans and audit reports."
requires-python = ">=3.10"
dependencies = []
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
keywords = [
"macos",
"macos-cleaner",
"cleanup",
"disk-cleanup",
"cli",
"python",
"ai-first",
"mcp",
"model-context-protocol",
"llm-tools",
"agent-tools",
"dry-run",
"zero-resident",
"privacy",
"developer-tools",
"automation",
"safe-delete",
"trash",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: MacOS",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.urls]
Homepage = "https://github.com/cleanmac/cleanmac"
Repository = "https://github.com/cleanmac/cleanmac"
Issues = "https://github.com/cleanmac/cleanmac/issues"
Security = "https://github.com/cleanmac/cleanmac/security/policy"
[project.optional-dependencies]
build = [
"build>=1.2",
"twine>=5.0",
"wheel>=0.43",
]
dev = [
"coverage[toml]>=7.6",
"mypy>=1.13",
"pip-audit>=2.7",
"pre-commit>=4.0",
"pytest>=8.3",
"ruff>=0.8",
]
lint = [
"mypy>=1.13",
"ruff>=0.8",
]
test = [
"coverage[toml]>=7.6",
"pytest>=8.3",
"pytest-cov>=5.0",
]
[project.scripts]
cleanmac = "cleanmac:main"
cleanmac-mcp = "cleancli.mcp_server:main"
[tool.setuptools]
py-modules = ["cleanmac"]
[tool.setuptools.packages.find]
include = ["cleancli*"]
[tool.ruff]
line-length = 120
target-version = "py310"
extend-exclude = [
"build",
"dist",
"*.egg-info",
]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "C4"]
ignore = [
"E501",
]
[tool.ruff.lint.per-file-ignores]
"test_cleanmac.py" = ["B018"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[tool.mypy]
python_version = "3.10"
files = ["cleanmac.py", "cleancli", "test_cleanmac.py"]
ignore_missing_imports = true
check_untyped_defs = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = false
no_implicit_optional = true
pretty = true
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["test_cleanmac.py", "tests"]
addopts = "--strict-config --strict-markers"
markers = [
"integration: tests that exercise subprocesses, packaging, or filesystem workflows",
]
[tool.coverage.run]
branch = true
source = ["cleancli", "cleanmac"]
omit = [
"test_cleanmac.py",
]
[tool.coverage.report]
show_missing = true
skip_covered = true
precision = 2
fail_under = 50
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.",
"raise NotImplementedError",
]