Skip to content

Commit 5a1de7d

Browse files
committed
chore(deps): update ruff to v0.13.2 and bump bump-my-version to v1.2.3; add project URLs in pyproject.toml
1 parent 2d89e34 commit 5a1de7d

File tree

5 files changed

+49
-60
lines changed

5 files changed

+49
-60
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ci:
77
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.12.12
10+
rev: v0.13.2
1111
hooks:
1212
- id: ruff-check
1313
args: [--fix]

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,13 @@
33
<img src="https://raw.githubusercontent.com/fllesser/nonebot-plugin-template/refs/heads/resource/.docs/NoneBotPlugin.svg" width="310" alt="logo"></a>
44

55
## ✨ nonebot-plugin-template ✨
6+
[![python](https://img.shields.io/badge/python-3.10|3.11|3.12|3.13-blue.svg)](https://www.python.org)
7+
[![uv](https://img.shields.io/badge/package%20manager-uv-black?style=flat-square&logo=uv)](https://github.com/astral-sh/uv)
8+
<br/>
9+
[![ruff](https://img.shields.io/badge/code%20style-ruff-black?style=flat-square&logo=ruff)](https://github.com/astral-sh/ruff)
10+
[![pre-commit](https://results.pre-commit.ci/badge/github/fllesser/nonebot-plugin-template/master.svg)](https://results.pre-commit.ci/latest/github/fllesser/nonebot-plugin-template/master)
11+
[![codecov](https://codecov.io/gh/fllesser/nonebot-plugin-template/graph/badge.svg?token=TMR6QZ6C6I)](https://codecov.io/gh/fllesser/nonebot-plugin-template)
612

7-
<img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="python">
8-
<a href="https://github.com/astral-sh/ruff">
9-
<img src="https://img.shields.io/badge/code%20style-ruff-black?style=flat-square&logo=ruff" alt="ruff">
10-
</a>
11-
<a href="https://github.com/astral-sh/uv">
12-
<img src="https://img.shields.io/badge/package%20manager-uv-black?style=flat-square&logo=uv" alt="uv">
13-
</a>
14-
<a href="https://codecov.io/gh/fllesser/nonebot-plugin-template" >
15-
<img src="https://codecov.io/gh/fllesser/nonebot-plugin-template/graph/badge.svg?token=TMR6QZ6C6I"/>
16-
</a>
17-
<a href="https://results.pre-commit.ci/latest/github/fllesser/nonebot-plugin-template/master">
18-
<img src="https://results.pre-commit.ci/badge/github/fllesser/nonebot-plugin-template/master.svg" alt="pre-commit" />
19-
</a>
2013
</div>
2114

2215
> [!IMPORTANT]

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ version = "0.1.0"
44
description = "插件描述"
55
readme = "README.md"
66
authors = [{ name = "owner", email = "[email protected]" }]
7-
urls = { Repository = "https://github.com/owner/nonebot-plugin-template" }
87
requires-python = ">=3.10"
98
dependencies = [
109
"nonebot2>=2.4.3,<3.0.0",
@@ -19,13 +18,19 @@ dependencies = [
1918
"httpx>=0.27.0,<1.0.0",
2019
]
2120

21+
[project.urls]
22+
Homepage = "https://github.com/owner/nonebot-plugin-template"
23+
Repository = "https://github.com/owner/nonebot-plugin-template.git"
24+
Issues = "https://github.com/owner/nonebot-plugin-template/issues"
25+
26+
2227
[dependency-groups]
2328
dev = [
2429
"nonebot2[fastapi]>=2.4.2,<3.0.0",
25-
"ruff>=0.12.12,<1.0.0",
30+
"ruff>=0.13.2,<1.0.0",
2631
"nonemoji>=0.1.4,<1.0.0",
2732
"pre-commit>=4.3.0",
28-
"bump-my-version>=1.2.1",
33+
"bump-my-version>=1.2.3",
2934
]
3035

3136
test = [

readme_template.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,14 @@
33
<img src="https://raw.githubusercontent.com/fllesser/nonebot-plugin-template/refs/heads/resource/.docs/NoneBotPlugin.svg" width="310" alt="logo"></a>
44

55
## ✨ {plugin-name} ✨
6+
[![LICENSE](https://img.shields.io/github/license/{owner}/{plugin-name}.svg)](./LICENSE)
7+
[![pypi](https://img.shields.io/pypi/v/{plugin-name}.svg)](https://pypi.python.org/pypi/{plugin-name})
8+
[![python](https://img.shields.io/badge/python-3.10|3.11|3.12|3.13-blue.svg)](https://www.python.org)
9+
[![uv](https://img.shields.io/badge/package%20manager-uv-black?style=flat-square&logo=uv)](https://github.com/astral-sh/uv)
10+
<br/>
11+
[![ruff](https://img.shields.io/badge/code%20style-ruff-black?style=flat-square&logo=ruff)](https://github.com/astral-sh/ruff)
12+
[![pre-commit](https://results.pre-commit.ci/badge/github/{owner}/{plugin-name}/master.svg)](https://results.pre-commit.ci/latest/github/{owner}/{plugin-name}/master)
613

7-
<a href="./LICENSE">
8-
<img src="https://img.shields.io/github/license/{owner}/{plugin-name}.svg" alt="license">
9-
</a>
10-
<a href="https://pypi.python.org/pypi/{plugin-name}">
11-
<img src="https://img.shields.io/pypi/v/{plugin-name}.svg" alt="pypi">
12-
</a>
13-
<img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="python">
14-
<a href="https://github.com/astral-sh/ruff">
15-
<img src="https://img.shields.io/badge/code%20style-ruff-black?style=flat-square&logo=ruff" alt="ruff">
16-
</a>
17-
<a href="https://github.com/astral-sh/uv">
18-
<img src="https://img.shields.io/badge/package%20manager-uv-black?style=flat-square&logo=uv" alt="uv">
19-
</a>
20-
<a href="https://results.pre-commit.ci/latest/github/{owner}/{plugin-name}/master">
21-
<img src="https://results.pre-commit.ci/badge/github/{owner}/{plugin-name}/master.svg" alt="pre-commit" />
22-
</a>
2314
</div>
2415

2516
## 📖 介绍

uv.lock

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)