mirror of
https://github.com/jmagar/unraid-mcp.git
synced 2026-03-01 16:04:24 -08:00
lintfree
This commit is contained in:
@@ -7,7 +7,7 @@ name = "unraid-mcp"
|
||||
version = "0.1.0"
|
||||
description = "MCP Server for Unraid API - provides tools to interact with an Unraid server's GraphQL API"
|
||||
authors = [
|
||||
{name = "Your Name", email = "your.email@example.com"}
|
||||
{name = "jmagar", email = "jmagar@users.noreply.github.com"}
|
||||
]
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
@@ -33,6 +33,8 @@ dependencies = [
|
||||
"websockets>=13.1,<14.0",
|
||||
"rich>=14.1.0",
|
||||
"pytz>=2025.2",
|
||||
"mypy>=1.17.1",
|
||||
"ruff>=0.12.8",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
@@ -46,9 +48,9 @@ dev = [
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/your-username/unraid-mcp"
|
||||
Repository = "https://github.com/your-username/unraid-mcp"
|
||||
Issues = "https://github.com/your-username/unraid-mcp/issues"
|
||||
Homepage = "https://github.com/jmagar/unraid-mcp"
|
||||
Repository = "https://github.com/jmagar/unraid-mcp"
|
||||
Issues = "https://github.com/jmagar/unraid-mcp/issues"
|
||||
|
||||
[project.scripts]
|
||||
unraid-mcp-server = "unraid_mcp.main:main"
|
||||
@@ -77,6 +79,8 @@ extend-exclude = '''
|
||||
[tool.ruff]
|
||||
target-version = "py310"
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"E", # pycodestyle errors
|
||||
"W", # pycodestyle warnings
|
||||
@@ -92,7 +96,7 @@ ignore = [
|
||||
"C901", # too complex
|
||||
]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"__init__.py" = ["F401"]
|
||||
|
||||
[tool.mypy]
|
||||
@@ -117,7 +121,7 @@ addopts = [
|
||||
"-ra",
|
||||
"--strict-markers",
|
||||
"--strict-config",
|
||||
"--cov=unraid_mcp_server",
|
||||
"--cov=unraid_mcp",
|
||||
"--cov-report=term-missing",
|
||||
"--cov-report=html",
|
||||
"--cov-report=xml",
|
||||
@@ -128,7 +132,7 @@ markers = [
|
||||
]
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ["unraid_mcp_server"]
|
||||
source = ["unraid_mcp"]
|
||||
branch = true
|
||||
|
||||
[tool.coverage.report]
|
||||
@@ -146,4 +150,6 @@ exclude_lines = [
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = []
|
||||
dev = [
|
||||
"types-pytz>=2025.2.0.20250809",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user