-
Notifications
You must be signed in to change notification settings - Fork 682
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (40 loc) · 1.13 KB
/
Copy pathpyproject.toml
File metadata and controls
44 lines (40 loc) · 1.13 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
[project]
name = "mcp-client"
version = "0.1.0"
description = "A simple MCP client"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"anthropic>=1.7.0",
"mcp>=2.2.0",
# client.py imports TextContent from mcp_types, which `mcp` pins exactly.
"mcp-types>=2.2.0",
"python-dotenv>=1.2.3",
]
[dependency-groups]
dev = [
"ruff>=0.16.8",
]
[tool.ruff]
line-length = 120
target-version = "py310"
extend-exclude = ["README.md"]
[tool.ruff.lint]
select = [
"C4", # flake8-comprehensions
"C90", # mccabe
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PERF", # Perflint
"PL", # Pylint
"UP", # pyupgrade
]
ignore = ["PERF203", "PLC0415", "PLR0402"]
mccabe.max-complexity = 24 # Default is 10
[tool.ruff.lint.pylint]
allow-magic-value-types = ["bytes", "float", "int", "str"]
max-args = 23 # Default is 5
max-branches = 23 # Default is 12
max-returns = 13 # Default is 6
max-statements = 102 # Default is 50