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:
Marcelo Trylesinski 2025-03-20 09:13:08 +00:00 • committed by GitHub
commit ae77772ea8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]