Add strict mode to pyright (#315)
* Add strict mode to pyright * Apply UP rule * fix readme * More correct * Leave wrong Context for now * Add strict mode to pyright * Apply UP rule * fix readme * fix * ignore
This commit is contained in:
parent
5a54d82459
commit
ae77772ea8
1 changed files with 194 additions and 133 deletions
|
|
@ -76,13 +76,11 @@ packages = ["src/mcp"]
|
|||
include = ["src/mcp", "tests"]
|
||||
venvPath = "."
|
||||
venv = ".venv"
|
||||
strict = [
|
||||
"src/mcp/server/fastmcp/tools/base.py",
|
||||
"src/mcp/client/*.py"
|
||||
]
|
||||
strict = ["src/mcp/**/*.py"]
|
||||
exclude = ["src/mcp/types.py"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I"]
|
||||
select = ["E", "F", "I", "UP"]
|
||||
ignore = []
|
||||
|
||||
[tool.ruff]
|
||||
|
|
|
|||
Loading…
Reference in a new issue