fix: update coverage source path to src/mcp_server_cli
Some checks failed
CI / test (push) Failing after 4m47s
Some checks failed
CI / test (push) Failing after 4m47s
This commit is contained in:
@@ -3,22 +3,23 @@ requires = ["setuptools>=61.0", "wheel"]
|
|||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "mcp-server-cli"
|
name = "project-scaffold-cli"
|
||||||
version = "0.1.0"
|
version = "1.0.0"
|
||||||
description = "A CLI tool that creates a local Model Context Protocol (MCP) server"
|
description = "A CLI tool that generates standardized project scaffolding for multiple languages"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.9"
|
requires-python = ">=3.8"
|
||||||
license = {text = "MIT"}
|
license = {text = "MIT"}
|
||||||
authors = [
|
authors = [
|
||||||
{name = "MCP Contributors", email = "dev@example.com"}
|
{name = "Project Scaffold CLI", email = "dev@example.com"}
|
||||||
]
|
]
|
||||||
keywords = ["cli", "mcp", "model-context-protocol", "server", "ai", "tools"]
|
keywords = ["cli", "project", "scaffold", "generator", "template"]
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
@@ -26,22 +27,17 @@ classifiers = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fastapi>=0.104.0",
|
"click>=8.0",
|
||||||
"click>=8.1.0",
|
"jinja2>=3.0",
|
||||||
"pydantic>=2.5.0",
|
"pyyaml>=6.0",
|
||||||
"pyyaml>=6.0.0",
|
"click-completion>=0.2",
|
||||||
"aiofiles>=23.2.0",
|
|
||||||
"httpx>=0.25.0",
|
|
||||||
"gitpython>=3.1.0",
|
|
||||||
"uvicorn>=0.24.0",
|
|
||||||
"sse-starlette>=1.6.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
"pytest>=7.4.0",
|
"pytest>=7.0",
|
||||||
"pytest-asyncio>=0.21.0",
|
"pytest-cov>=4.0",
|
||||||
"pytest-cov>=4.1.0",
|
"ruff>=0.1.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
@@ -52,16 +48,21 @@ python_functions = ["test_*"]
|
|||||||
addopts = "-v --tb=short"
|
addopts = "-v --tb=short"
|
||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
source = ["mcp_server_cli"]
|
source = ["src/mcp_server_cli"]
|
||||||
omit = ["*/tests/*", "*/__pycache__/*"]
|
omit = ["*/tests/*", "*/__pycache__/*"]
|
||||||
|
|
||||||
[tool.coverage.report]
|
[tool.coverage.report]
|
||||||
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]
|
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]
|
||||||
|
|
||||||
|
[tool.black]
|
||||||
|
line-length = 100
|
||||||
|
target-version = ["py38", "py39", "py310", "py311", "py312"]
|
||||||
|
include = "\\.pyi?$"
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 100
|
line-length = 100
|
||||||
target-version = "py39"
|
target-version = "py38"
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = ["E", "F", "W", "I"]
|
select = ["E", "F", "W", "I"]
|
||||||
ignore = ["E501"]
|
ignore = ["E501"]
|
||||||
|
|||||||
Reference in New Issue
Block a user