Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nonebot/nb-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.5
Choose a base ref
...
head repository: nonebot/nb-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.6
Choose a head ref
  • 5 commits
  • 6 files changed
  • 3 contributors

Commits on Oct 3, 2023

  1. ⬆️ auto update by pre-commit hooks (#101)

    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Oct 3, 2023
    Copy the full SHA
    49af30d View commit details

Commits on Oct 7, 2023

  1. Copy the full SHA
    95e7c64 View commit details

Commits on Oct 20, 2023

  1. Copy the full SHA
    cd1cf01 View commit details

Commits on Oct 29, 2023

  1. Copy the full SHA
    d37a869 View commit details
  2. 🔖 bump version 1.2.6

    yanyongyu authored Oct 29, 2023
    Copy the full SHA
    1e14762 View commit details
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ ci:
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.0.292
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
@@ -20,7 +20,7 @@ repos:
stages: [commit]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
stages: [commit]
4 changes: 2 additions & 2 deletions nb_cli/locale/zh_CN/LC_MESSAGES/nb-cli.po
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nb-cli 1.0.0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-09-10 08:48+0000\n"
"POT-Creation-Date: 2023-10-29 07:13+0000\n"
"PO-Revision-Date: 2023-01-11 08:56+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_Hans_CN\n"
@@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.12.1\n"
"Generated-By: Babel 2.13.1\n"

#: nb_cli/cli/__init__.py:51
msgid "The working directory."
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ from nonebot.plugin import PluginMetadata

from .config import Config

__plugin_meta = PluginMetadata(
__plugin_meta__ = PluginMetadata(
name="{{cookiecutter.plugin_name}}",
description="",
usage="",
7 changes: 5 additions & 2 deletions nb_cli/template/scripts/script/_entrypoint.py.jinja
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% macro get_entrypoints() %}
import sys
from importlib.metadata import entry_points

entrypoints = entry_points()
entrypoints = entrypoints["{{ ENTRYPOINT_GROUP }}"] if "{{ ENTRYPOINT_GROUP }}" in entrypoints else []
if sys.version_info < (3, 10):
entrypoints = entry_points().get({{ ENTRYPOINT_GROUP|repr }}, ())
else:
entrypoints = entry_points(group={{ ENTRYPOINT_GROUP|repr }})
{% endmacro %}
277 changes: 163 additions & 114 deletions pdm.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nb-cli"
version = "1.2.5"
version = "1.2.6"
description = "CLI for nonebot2"
authors = [{ name = "yanyongyu", email = "yyy@nonebot.dev" }]
license = { text = "MIT" }