mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
🎨 Apply black formatting
This commit is contained in:
parent
6f1817726e
commit
849cc24968
@ -16,10 +16,10 @@ repos:
|
||||
hooks:
|
||||
- id: mypy
|
||||
|
||||
# - repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
# rev: v4.0.1
|
||||
# hooks:
|
||||
# - id: trailing-whitespace
|
||||
# - id: end-of-file-fixer
|
||||
# - id: check-yaml
|
||||
# - id: check-added-large-files
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.0.1
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
|
@ -14,7 +14,6 @@ async def random_turntable(upper: int, lower: int):
|
||||
return random.randint(lower, upper)
|
||||
|
||||
|
||||
|
||||
async def number_calc(a: str, b: str, op: str) -> str:
|
||||
"""Number Calc
|
||||
|
||||
@ -42,4 +41,3 @@ async def number_calc(a: str, b: str, op: str) -> str:
|
||||
return str(a % b)
|
||||
case _:
|
||||
return "未知运算符"
|
||||
|
@ -4,7 +4,10 @@ dynamic = ["version"]
|
||||
description = "Nonebot2插件,调用Azure OpenAI等AI服务实现猫娘聊天"
|
||||
readme = "README.md"
|
||||
requires-python = "<4.0,>=3.10"
|
||||
authors = [{ name = "Asankilp", email = "asankilp@outlook.com" }]
|
||||
authors = [
|
||||
{ name = "Asankilp", email = "asankilp@outlook.com" },
|
||||
{name="LiteyukiStudio", email = "support@liteyuki.icu"}
|
||||
]
|
||||
dependencies = [
|
||||
"nonebot2>=2.2.0",
|
||||
"nonebot-plugin-alconna>=0.48.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user