-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (115 loc) · 2.78 KB
/
Copy pathpyproject.toml
File metadata and controls
128 lines (115 loc) · 2.78 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
[project]
name = "jamfmcp"
dynamic = ["version", "readme"]
description = "An async MCP server for Jamf Pro integration providing computer health analysis"
keywords = ["jamf", "pro", "jss", "mcp", "mdm", "fastmcp"]
license = { file = "LICENSE" }
requires-python = ">=3.13"
authors = [
{name = "Andrew Lerman", email = "info@liquidzoo.io"}
]
dependencies = [
"asyncclick>=8.3.0.7",
"defusedxml",
"dicttoxml>=1.7.16,<2",
"faker>=37.12.0",
"fastmcp>=2.11.3",
"httpx>=0.27.0",
"keyring>=25.6.0",
"polyfactory>=2.22.3",
"pydantic>=2,<3",
]
[project.urls]
Homepage = "https://jamfmcp.readthedocs.io/en/latest"
Documentation = "https://jamfmcp.readthedocs.io/en/latest"
Repository = "https://github.com/liquidz00/jamfmcp"
Issues = "https://github.com/liquidz00/jamfmcp/issues/new"
[project.scripts]
jamfmcp = "jamfmcp.server:main"
jamfmcp-cli = "jamfmcp.cli:main"
[project.optional-dependencies]
dev = [
"autodoc-pydantic",
"build",
"deepdiff",
"myst-parser",
"pre-commit>=4.3.0",
"pytest>=8.2.2",
"pytest-asyncio>=0.23.5",
"pytest-cov>=4.0.0",
"pytest-mock>=3.14.0",
"ruff>=0.5.1",
"sphinx>=7.3.7",
"sphinx-design",
"sphinx-copybutton",
"sphinx-togglebutton",
"shibuya>=2025.11.10",
"sphinx-iconify>=0.2.1",
"boto3>=1.42.4",
]
[build-system]
requires = [
"setuptools >= 61",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = { attr = "jamfmcp.__about__.__version__" }
readme = { file = ["README.md"], content-type = "text/markdown" }
[tool.ruff]
line-length = 100
target-version = "py313"
src = ["src", "tests"]
exclude = ["docs"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
select = [
"E101",
"F401",
"F403",
"I001",
"N801",
"N802",
"N806"
]
per-file-ignores = {"__init__.py" = ["F401"]}
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"--durations=5",
"--color=yes",
"--cov=src",
"--cov-report=html:coverage/htmlcov",
"--cov-report=term-missing",
# "--cov-fail-under=90",
]
testpaths = [ "./tests" ]
# Exclude jamfsdk from test discovery
norecursedirs = ["src/jamfmcp/jamfsdk"]
[tool.coverage.run]
# Exclude jamfsdk from coverage reporting
omit = [
"src/jamfmcp/jamfsdk/*",
"*/tests/*",
"*/__pycache__/*",
]
[tool.coverage.report]
# Exclude jamfsdk from coverage reports
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]