Skip to content

Commit

Permalink
misc: Disable pre commit renovate autoupdates (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
bagel897 authored Feb 13, 2025
1 parent b0cb3e9 commit 6f037f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ repos:
rev: "v0.6.1"
hooks:
- id: biome-check
language: node
additional_dependencies: ["@biomejs/[email protected]"]
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
Expand Down Expand Up @@ -62,6 +63,7 @@ repos:
rev: v2.4.1
hooks:
- id: codespell
language: python
additional_dependencies:
- tomli
files: "docs/.*/.*.mdx"
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/build-mcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Slack](https://community.codegen.com) if you have questions or ideas for additional MCP tools/capabilities
6 changes: 3 additions & 3 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
":automergeLinters",
":automergeMinor",
":automergePatch",
":enablePreCommit",
// ":enablePreCommit",
":maintainLockFilesWeekly",
":automergeLinters",
"group:githubArtifactActions"
"group:githubArtifactActions",
"schedule:automergeWeekly"
],
lockFileMaintenance: {
enabled: true,
Expand Down

0 comments on commit 6f037f9

Please sign in to comment.