Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
chore: remove automatic pre-commit hooks (#3228)
Qin Haojie78b7db2baed6
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamldeleted file mode 100644index e08c5c4dd..000000000--- a/.pre-commit-config.yaml+++ /dev/null@@ -1,7 +0,0 @@-repos:- - repo: https://github.com/astral-sh/ruff-pre-commit- rev: v0.14.14- hooks:- - id: ruff- args: [ --fix ]- - id: ruff-formatdiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 3e3dd1d54..ead0761e6 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -200,17 +200,6 @@ We use the following tools to maintain code consistency:| **Ruff** | Linting, Formatting, Import sorting | `pyproject.toml` || **mypy** | Type checking | `pyproject.toml` |-### Automated Checks (Recommended)--We use [pre-commit](https://pre-commit.com/) to automatically run these checks before every commit. This ensures your code always meets the standards without manual effort.--1. **Install the git hooks**:- ```bash- uvx pre-commit install- ```--Now, `ruff` (check & format) will run automatically when you run `git commit`. If any check fails, it may automatically fix the file. You just need to add the changes and commit again.-### Running Checks```bash@@ -507,8 +496,6 @@ Maintainers can manually trigger the following workflows from the "Actions" tab#### A. Lint Checks (`11. _Lint Checks`)Runs code style checks (Ruff) and type checks (Mypy). No arguments required.-> **Tip**: It is recommended to install [pre-commit](https://pre-commit.com/) locally to run these checks automatically before committing (see [Automated Checks](#automated-checks-recommended) section above).-#### B. Test Suite (Lite) (`12. _Test Suite (Lite)`)Runs fast integration tests, supports custom matrix configuration.diff --git a/CONTRIBUTING_CN.md b/CONTRIBUTING_CN.mdindex 2ca8b55c6..2245aeb50 100644--- a/CONTRIBUTING_CN.md+++ b/CONTRIBUTING_CN.md@@ -196,22 +196,6 @@ openviking/| **Ruff** | Linting, 格式化, 导入排序 | `pyproject.toml` || **mypy** | 类型检查 | `pyproject.toml` |-### 自动检查(推荐)--我们使用 [pre-commit](https://pre-commit.com/) 在每次提交前自动运行这些检查。这确保您的代码无需手动努力即可符合标准。--1. **安装 pre-commit**:- ```bash- pip install pre-commit- ```--2. **安装 git hooks**:- ```bash- pre-commit install- ```--现在,当您运行 `git commit` 时,`ruff`(检查和格式化)将自动运行。如果任何检查失败,它可能会自动修复文件。您只需添加更改并再次提交即可。-### 运行检查```bash@@ -508,8 +492,6 @@ git commit -m "refactor(storage): simplify interface methods"#### A. 代码检查 (`11. _Lint Checks`)运行代码风格检查 (Ruff) 和类型检查 (Mypy) 。无需参数。-> **提示**:建议在本地安装 [pre-commit](https://pre-commit.com/) 以在提交前自动运行这些检查(详见上文[自动检查](#自动检查推荐)章节)。-#### B. 简易测试 (`12. _Test Suite (Lite)`)运行快速集成测试,支持自定义矩阵配置。diff --git a/CONTRIBUTING_JA.md b/CONTRIBUTING_JA.mdindex aa2d9f36c..d059655ed 100644--- a/CONTRIBUTING_JA.md+++ b/CONTRIBUTING_JA.md@@ -198,22 +198,6 @@ openviking/| **Ruff** | リンティング、フォーマット、インポートソート | `pyproject.toml` || **mypy** | 型チェック | `pyproject.toml` |-### 自動チェック(推奨)--[pre-commit](https://pre-commit.com/)を使用して、コミット前にこれらのチェックを自動実行します。これにより、手動の作業なしでコードが常に基準を満たすことが保証されます。--1. **pre-commitのインストール**:- ```bash- pip install pre-commit- ```--2. **gitフックのインストール**:- ```bash- pre-commit install- ```--これで、`git commit`実行時に`ruff`(チェックとフォーマット)が自動的に実行されます。チェックが失敗した場合、ファイルが自動修正されることがあります。変更をaddして再度コミットするだけです。-### チェックの実行```bash@@ -437,8 +421,6 @@ git commit -m "refactor(storage): simplify interface methods"#### A. Lintチェック (`11. _Lint Checks`)コードスタイルチェック(Ruff)と型チェック(Mypy)を実行。引数は不要です。-> **ヒント**: コミット前にこれらのチェックを自動的に実行するため、ローカルに[pre-commit](https://pre-commit.com/)をインストールすることを推奨します(上記の[自動チェック](#自動チェック推奨)セクションを参照)。-#### B. テストスイート(Lite)(`12. _Test Suite (Lite)`)高速統合テストを実行し、カスタムマトリックス設定をサポートします。