Skip to content

Commit dc436ab

Browse files
AIintellectronica
authored andcommitted
Fix ruff linting errors
- Break long line in docstring (line 269) - Remove unused variable and import in test_resources.py
1 parent 14c45c4 commit dc436ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/skillz/_server.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ def _collect_resources(self, directory: Path) -> tuple[Path, ...]:
266266
"""Collect all files in skill directory except SKILL.md.
267267
268268
SKILL.md is only returned from the tool, not as a resource.
269-
All other files in the skill directory and subdirectories are resources.
269+
All other files in the skill directory and subdirectories are
270+
resources.
270271
"""
271272
root = directory.resolve()
272273
skill_md_path = root / SKILL_MARKDOWN

tests/test_resources.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from pathlib import Path
44

55
from skillz import SkillRegistry
6-
from skillz._server import register_skill_resources, build_server
6+
from skillz._server import register_skill_resources
77

88

99
def write_skill_with_resources(
@@ -44,7 +44,6 @@ def test_resource_metadata_follows_mcp_spec(tmp_path: Path) -> None:
4444
registry.load()
4545

4646
skill = registry.get("testskill")
47-
server = build_server(registry)
4847

4948
# Get resource metadata
5049
from fastmcp import FastMCP

0 commit comments

Comments
 (0)