Merge pull request #13 from modelcontextprotocol/davidsp/pyproject
Improve our pyproject configuration
This commit is contained in:
commit
0ccff909fc
2 changed files with 7 additions and 2 deletions
1
.python-version
Normal file
1
.python-version
Normal file
|
|
@ -0,0 +1 @@
|
|||
3.11
|
||||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue