Skip to content

Commit 0ccff90

Browse files
authored
Merge pull request #13 from modelcontextprotocol/davidsp/pyproject
Improve our pyproject configuration
2 parents 9f5dffa + a05e66b commit 0ccff90

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.python-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11

pyproject.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,16 @@ packages = ["mcp_python"]
2323
[tool.pyright]
2424
include = ["mcp_python", "tests"]
2525
typeCheckingMode = "strict"
26+
venvPath = "."
27+
venv = ".venv"
2628

27-
[tool.ruff]
29+
[tool.ruff.lint]
2830
select = ["E", "F", "I"]
2931
ignore = []
32+
33+
[tool.ruff]
3034
line-length = 88
3135
target-version = "py38"
3236

33-
[tool.ruff.per-file-ignores]
37+
[tool.ruff.lint.per-file-ignores]
3438
"__init__.py" = ["F401"]

0 commit comments

Comments
 (0)