diff --git a/ci/lint.sh b/ci/lint.sh index 1ad7af9c233f4a6cc612e53cbd9f48f0b849d20f..45d07dcd804f33bda8de38524936cc6839ce3017 100755 --- a/ci/lint.sh +++ b/ci/lint.sh @@ -37,7 +37,7 @@ if ! hash ruff 2> /dev/null; then echo "The 'ruff' command was not found. Please try 'pip install ruff'." return fi -RUFF_OUTPUT=$( (ruff src tests) 2>&1 ) +RUFF_OUTPUT=$( (ruff check src tests) 2>&1 ) STATUS=$? if [ "$STATUS" -ne 0 ]; then echo "ruff checks failed:" diff --git a/docs/zh/install.md b/docs/zh/install.md index fde53d8ad108a513333296384bf05d496311e0dd..592212297e7f6db5888d4fa734d24c808160305b 100644 --- a/docs/zh/install.md +++ b/docs/zh/install.md @@ -1,4 +1,4 @@ -# 安装openmind Hub Client +# 安装openmind Hub Client It Is AAA Test 在开始安装之前,需要先配置本地环境。openMind Hub Client支持的Python版本是3.8/3.9/3.10,可查阅[安装说明](https://docs.python.org/zh-cn/3/using/index.html)。其他版本不保证兼容。 diff --git a/pyproject.toml b/pyproject.toml index dee940dcc8e616459c8037e981a3ef1227f36a8a..437e9ec2d5ad123246534329114da9d60efa3c12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,8 +32,8 @@ test = [ ] lint = [ - "black", - "ruff", + "black == 24.8.0", + "ruff == 0.6.1", ] all = [