-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (48 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
58 lines (48 loc) · 1.28 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mcp-server-applescript"
version = "0.1.0"
description = "MCP server for executing AppleScript on macOS"
requires-python = ">=3.10"
dependencies = [
"mcp",
"pydantic"
]
[project.scripts]
mcp-server-applescript = "applescript_mcp:main"
check = "applescript_mcp._dev:check"
lint = "applescript_mcp._dev:lint"
format = "applescript_mcp._dev:format_code"
typecheck = "applescript_mcp._dev:typecheck"
test = "applescript_mcp._dev:test"
[dependency-groups]
dev = [
"ruff",
"pyrefly",
"pytest",
"pytest-asyncio",
"pytest-cov",
]
[tool.hatch.build.targets.wheel]
packages = ["src/applescript_mcp"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.pyrefly]
project-includes = ["src/**/*.py", "tests/**/*.py"]
python-version = "3.10"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.coverage.run]
omit = ["src/applescript_mcp/_dev.py"]
[tool.coverage.report]
exclude_lines = [
"if __name__",
]
# 100% test coverage is a reasonable target when AI generates the tests alongside
# the code — every line of production code should have a corresponding test path,
# and there's no human-time cost to maintaining full coverage.