Merge pull request #13 from modelcontextprotocol/davidsp/pyproject

Improve our pyproject configuration
This commit is contained in:
David Soria Parra
2024-10-11 14:06:00 +01:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.11

View File

@@ -23,12 +23,16 @@ packages = ["mcp_python"]
[tool.pyright]
include = ["mcp_python", "tests"]
typeCheckingMode = "strict"
venvPath = "."
venv = ".venv"
[tool.ruff]
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = []
[tool.ruff]
line-length = 88
target-version = "py38"
[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]