Skip to content

Commit d67ad08

Browse files
committed
remove readme from lint
1 parent 6e5b666 commit d67ad08

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ repos:
2323
types: [python]
2424
language: system
2525
pass_filenames: false
26+
exclude: ^README\.md$
2627
- id: pyright
2728
name: pyright
2829
entry: uv run pyright

examples/servers/everything/src/everything/server.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ def create_everything_server() -> FastMCP:
3535
mcp = FastMCP(name="EverythingServer", transport_security=transport_security)
3636

3737
# Tool with context for logging and progress
38-
@mcp.tool(
39-
description="A tool that demonstrates logging and progress", title="Progress Tool"
40-
)
38+
@mcp.tool(description="A tool that demonstrates logging and progress", title="Progress Tool")
4139
async def tool_with_progress(message: str, ctx: Context, steps: int = 3) -> str:
4240
await ctx.info(f"Starting processing of '{message}' with {steps} steps")
4341

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ ignore = ["PERF203"]
9999
[tool.ruff]
100100
line-length = 120
101101
target-version = "py310"
102+
extend-exclude = ["README.md"]
102103

103104
[tool.ruff.lint.per-file-ignores]
104105
"__init__.py" = ["F401"]

0 commit comments

Comments
 (0)