diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 046531f9a..7f8f20c68 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,7 @@ repos: rev: "v0.6.1" hooks: - id: biome-check + language: node additional_dependencies: ["@biomejs/biome@1.9.4"] exclude: (src/codemods/eval)|(tests/unit/skills/snapshots)|(tests/unit/codegen/sdk/output)|(tests/integration/verified_codemods)|(docs/samples) - repo: https://github.com/MarcoGorelli/cython-lint @@ -62,6 +63,7 @@ repos: rev: v2.4.1 hooks: - id: codespell + language: python additional_dependencies: - tomli files: "docs/.*/.*.mdx" @@ -103,6 +105,7 @@ repos: rev: 0.7.22 # Use the ref you want to point at hooks: - id: mdformat + language: python # Optionally add plugins additional_dependencies: - mdformat-gfm diff --git a/docs/tutorials/build-mcp.mdx b/docs/tutorials/build-mcp.mdx index dae0573bb..973d69fc7 100644 --- a/docs/tutorials/build-mcp.mdx +++ b/docs/tutorials/build-mcp.mdx @@ -54,7 +54,7 @@ from codegen.extensions.tools.semantic_search import semantic_search @mcp.tool('codebase_semantic_search', "search codebase with the provided query") def search(query: Annotated[str, "search query to run against codebase"]): codebase = Codebase("provide location to codebase", programming_language="provide codebase Language") - # use the semantic search tool from codegen.extenstions.tools OR write your own + # use the semantic search tool from codegen.extensions.tools OR write your own results = semantic_search(codebase=codebase, query=query) return results @@ -72,4 +72,4 @@ mcp dev server.py If you'd like to integrate this into an IDE checkout out this [setup guide](/introduction/ide-usage#mcp-server-setup) And that's a wrap, chime in at our [community - Slack](https://community.codegen.com) if you have quesions or ideas for additional MCP tools/capabilities \ No newline at end of file + Slack](https://community.codegen.com) if you have questions or ideas for additional MCP tools/capabilities \ No newline at end of file diff --git a/renovate.json5 b/renovate.json5 index 4216d69c4..04efc204f 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -5,10 +5,10 @@ ":automergeLinters", ":automergeMinor", ":automergePatch", - ":enablePreCommit", + // ":enablePreCommit", ":maintainLockFilesWeekly", - ":automergeLinters", - "group:githubArtifactActions" + "group:githubArtifactActions", + "schedule:automergeWeekly" ], lockFileMaintenance: { enabled: true,