Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: nonebot-weather #2991

Open
hriyel opened this issue Oct 1, 2024 · 7 comments
Open

Plugin: nonebot-weather #2991

hriyel opened this issue Oct 1, 2024 · 7 comments
Labels
Plugin Publish Plugin

Comments

@hriyel
Copy link

hriyel commented Oct 1, 2024

PyPI 项目名

nonebot-weather

插件 import 包名

nonebot_weather

标签

[{"label":"weather","color":"#34aad4"},{"label":"server","color":"#0e799e"}]

插件配置项

No response

@hriyel hriyel added the Plugin Publish Plugin label Oct 1, 2024
@noneflow
Copy link
Contributor

noneflow bot commented Oct 1, 2024

📃 商店发布检查结果

Plugin: nonebot-weather

⚠️ 在发布检查过程中,我们发现以下问题:

  • ⚠️ 无法获取到插件元数据。
    请确保插件正常加载。
  • ⚠️ 插件加载测试未通过。
    测试输出插件 nonebot-weather 的信息如下: name : nonebot-weather version : 1.3 description : A small example package 插件 nonebot-weather 依赖的插件如下: 插件 nonebot_weather 加载出错: Traceback (most recent call last): File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-weather-nonebot_weather-test/runner.py", line 4, in <module> from nonebot import init, load_plugin, logger, require ModuleNotFoundError: No module named 'nonebot'
  • 详情
  • ✅ 项目 nonebot-weather 已发布至 PyPI。
  • ✅ 标签: weather-#34aad4, server-#0e799e。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。

    ♻️ 评论已更新至最新检查结果

    💪 Powered by NoneFlow

    @noneflow noneflow bot changed the title Plugin: nonebot-weather Plugin: nonebot-weather 1.0 Oct 1, 2024
    @noneflow noneflow bot changed the title Plugin: nonebot-weather 1.0 Plugin: nonebot-weather Oct 1, 2024
    @hriyel
    Copy link
    Author

    hriyel commented Oct 1, 2024

    updata

    @hanasa2023
    Copy link
    Contributor

    hanasa2023 commented Oct 1, 2024

    打包时未包含所需插件所需依赖,建议通过poetry、pdm、uv等包管理工具对依赖及项目配置进行管理。另外,请参考nonebot文档中的插件命名规范,规范化插件名称。

    @hriyel
    Copy link
    Author

    hriyel commented Oct 2, 2024

    updata

    @noneflow noneflow bot changed the title Plugin: nonebot-weather Plugin: nonebot-weather 1.3 Oct 2, 2024
    @hriyel
    Copy link
    Author

    hriyel commented Oct 2, 2024

    1

    @noneflow noneflow bot changed the title Plugin: nonebot-weather 1.3 Plugin: nonebot-weather Oct 2, 2024
    Copy link
    Contributor

    是update不是updata(

    @yeying-xingchen
    Copy link

    yeying-xingchen commented Oct 2, 2024

    插件开发者您好,很感谢您对NoneBot社区插件的贡献,我们查看了您的代码,发现了如下问题:

    • 未声明配置项,插件可能将会无法安装/正常使用。
    • 项目名建议改为类似nonebot-plugin-weather的,导入名建议改为类似nonebot_plugin_weather的,这是社区约定俗成的命名。
    • Python相关开发能力可能略微欠缺。
    • 插件未使用配置文件,无需声明config。
    • 在文档中已写明,插件元数据要删除花括号。
    • 您的回复和commit提交中,多次出现英语拼写错误(update拼写为updata),这可能对您造成后续查看提交不知道这个提交是干嘛的之类的问题。

    还望您改正后重新评论提交,谢谢!

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin
    Development

    No branches or pull requests

    4 participants