-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (60 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
67 lines (60 loc) · 1.42 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
[project]
name = "cover-mcp"
version = "0.1.0"
description = "An MCP server exposing Diffblue Cover's create tool for writing Java unit tests"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"fastmcp>=2.13.0.2",
"mcp>=1.23.0", # security fix for GHSA-9h52-p55h-vw2f
"starlette>=0.49.1", # the default version in fastmcp is vulnerable to https://github.com/advisories/GHSA-7f5h-v6xp-fcq8
"urllib3>=2.6.0", # security fix for GHSA-gm62-xv2j-4w53 and GHSA-2xpw-w6gg-jr37
]
[dependency-groups]
dev = [
"coverage>=7.11.0",
"gevent>=25.9.1",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"ruff>=0.14.2",
]
[tool.coverage.report]
fail_under = "80" # percent coverage
omit = ["test/*"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = [
# for specific definitions of the rulesets,
# see the documentation: https://docs.astral.sh/ruff/rules/
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-async
"ASYNC",
# flake8-bugbear
"B",
# flake8-pytest-style
"PT",
# flake8-simplify
"SIM",
# flake8-unused-arguments
"ARG",
# flake8-use-pathlib
"PTH",
# isort
"I",
# pydocstyle
"D",
# pylint
"PL"
]
[tool.ruff.lint.per-file-ignores]
# Ignore some rules everywhere except for the `src/` directory.
"!src/**.py" = ["D", "S", "ARG"]
[tool.ruff.lint.pydocstyle]
convention = "google"