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

更新至 v2.0.1 #245

Merged
merged 24 commits into from
Jan 29, 2024
Merged

更新至 v2.0.1 #245

merged 24 commits into from
Jan 29, 2024

Conversation

Ljzd-PRO
Copy link
Owner

No description provided.

@Ljzd-PRO Ljzd-PRO added the upgrade Upgrade to a newer version label Jan 22, 2024
@Ljzd-PRO Ljzd-PRO self-assigned this Jan 22, 2024
Copy link
Contributor

@code-review-doctor code-review-doctor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Worth considering though. View full project report here.

@@ -467,13 +469,13 @@ def _read_user_list(path: Path) -> List[str]:
if not path:
return []
if os.path.isfile(path):
with open(path, "r", encoding=_conf.preference.encoding) as f:
with open(path, "r", encoding=plugin_config.preference.encoding) as f:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UnicodeDecodeError can occur if the content of the file has characters incompatible with the OS's default encoding. Python uses the OS's default text encoding on the content because encoding is not set. Read more.

Copy link
Contributor

@code-review-doctor code-review-doctor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some food for thought. View full project report here.

src/nonebot_plugin_mystool/command/plan.py Outdated Show resolved Hide resolved
src/nonebot_plugin_mystool/command/plan.py Outdated Show resolved Hide resolved
src/nonebot_plugin_mystool/utils/good_image.py Outdated Show resolved Hide resolved
@Ljzd-PRO Ljzd-PRO changed the title 更新至 v2.0.0-beta.1 更新至 v2.0.0 Jan 23, 2024
@Ljzd-PRO Ljzd-PRO changed the title 更新至 v2.0.0 更新至 v2.0.1 Jan 27, 2024
@Ljzd-PRO Ljzd-PRO linked an issue Jan 27, 2024 that may be closed by this pull request
@Ljzd-PRO Ljzd-PRO linked an issue Jan 29, 2024 that may be closed by this pull request
@Ljzd-PRO Ljzd-PRO merged commit 902ca09 into stable Jan 29, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade Upgrade to a newer version
Projects
Development

Successfully merging this pull request may close these issues.

似乎不能直接使用2.0版本,而是需要从1.0+迁移? 能不能再加一个,账户的备注。
1 participant