diff --git a/.github/workflows/lint-and-fmt.yml b/.github/workflows/lint-and-fmt.yml index adb1a83..5afaa12 100644 --- a/.github/workflows/lint-and-fmt.yml +++ b/.github/workflows/lint-and-fmt.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8"] + python-version: ["3.9"] architecture: ["x64"] name: Lint and Format (Python) steps: diff --git a/README.md b/README.md index b9aee53..264240f 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,12 @@ google-yamlfmt 是一个二次打包 [yamlfmt](https://github.com/google/yamlfmt) 的仓库。 ## 特性 + - 可以使用 pip 或任意 python 包管理工具安装 ## 安装 -要安装 google-yamlfmt,请确保您的 Python 版本为 3.8 或更高,然后运行以下命令: +要安装 google-yamlfmt,请确保您的 Python 版本为 3.9 或更高,然后运行以下命令: ```bash pip install google-yamlfmt diff --git a/pyproject.toml b/pyproject.toml index 0b7ba2f..fba7884 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "0.16.0-post.1" description = "A tool for formatting YAML files, yamlfmt from Google: https://github.com/google/yamlfmt" readme = "README.md" license = { text = "MIT" } -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [] [project.urls] @@ -13,9 +13,7 @@ Repository = "https://github.com/PFCCLab/google-yamlfmt" Issues = "https://github.com/PFCCLab/google-yamlfmt/issues" [dependency-groups] -dev = [ - "hatchling>=1.27.0", -] +dev = ["hatchling>=1.27.0"] [project.scripts] yamlfmt = "yamlfmt.__main__:main"