Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"
Expand Down