chore: bump ruff in pre-commit (#298)
* chore(pre-commit): sync ruff version with uv * chore(gitignore): don't ignore built-in skills dir * style: unused var
This commit is contained in:
@@ -36,6 +36,7 @@ bridge/package-lock.json
|
||||
.langgraph_api/
|
||||
workspace/
|
||||
skills/
|
||||
!EvoScientist/skills/
|
||||
memory/
|
||||
!EvoScientist/memory/
|
||||
media/
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.9.9
|
||||
rev: v0.15.17
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff
|
||||
- id: ruff-check
|
||||
args: [ --fix ]
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
|
||||
@@ -240,7 +240,7 @@ def main():
|
||||
print(f"Error: No SKILL.md found at {skill_path}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
name, original_description, content = parse_skill_md(skill_path)
|
||||
name, original_description, _content = parse_skill_md(skill_path)
|
||||
description = args.description or original_description
|
||||
|
||||
if args.verbose:
|
||||
|
||||
Reference in New Issue
Block a user