-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (77 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (77 loc) · 1.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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openhab-mcp"
version = "0.1.0"
description = "An MCP server that interacts with openHAB instances via REST API"
authors = [
{name = "Tom Deckers", email = "tom@example.com"},
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"mcp",
"python-dotenv",
"requests",
"pydantic",
"starlette",
"uvicorn",
]
[project.optional-dependencies]
dev = [
"flake8",
"flake8-pyproject",
"isort",
"flake8-isort",
"black",
"pytest",
]
[project.scripts]
openhab-mcp = "openhab_mcp_server:main"
[tool.hatch.build.targets.wheel]
packages = ["."]
include = [
"openhab_mcp_server.py",
"openhab_client.py",
"models.py",
"__init__.py"
]
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
known_first_party = ["models", "openhab_client", "openhab_mcp_server"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.flake8]
max-line-length = 88
extend-ignore = "E203,W503"
exclude = ".git,__pycache__,.venv,.env,venv,docker/"
per-file-ignores = "__init__.py:F401"
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.venv
| docker
)/
'''