-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (39 loc) · 1.36 KB
/
pyproject.toml
File metadata and controls
45 lines (39 loc) · 1.36 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
[project]
name = "devguardian"
version = "0.1.0"
description = "An MCP server for AI-powered coding help, debugging, and Git operations"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"mcp[cli]>=1.3.0",
"google-genai>=0.1.0",
"langgraph>=0.0.10",
"langgraph-checkpoint-sqlite>=2.0.0",
"langchain-google-genai>=1.0.0",
"aiosqlite>=0.20.0",
"python-dotenv>=1.0.0",
"gitpython>=3.1.40",
]
[project.scripts]
devguardian = "devguardian.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["devguardian"]
# ---------------------------------------------------------------------------
# Ruff linting configuration
# ---------------------------------------------------------------------------
[tool.ruff]
line-length = 120
exclude = [".venv", "venv", "__pycache__", ".git", "dist", "build"]
[tool.ruff.lint]
# Only check for real bugs (F = pyflakes: undefined names, unused variables, etc.)
# Skip all E/W style rules — this is an MCP server, not a library with strict style guides
select = ["F"]
ignore = [
"F401", # imported but unused — common in __init__.py re-exports
"F841", # local variable assigned but never used — already fixed
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["F811", "F401"] # test files can shadow names and import fixtures