Skip to content

Commit

Permalink
✨ use nonestorage
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Dec 21, 2024
1 parent a93b9a3 commit 77def13
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 148 deletions.
2 changes: 1 addition & 1 deletion nonebot_plugin_localstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

from nonebot import get_plugin_config
from nonebot.plugin import Plugin, PluginMetadata, get_plugin_by_module_name
from nonestorage import user_cache_dir, user_config_dir, user_data_dir
from typing_extensions import ParamSpec

from .config import Config
from .data_source import user_cache_dir, user_config_dir, user_data_dir

__plugin_meta__ = PluginMetadata(
name="本地数据存储",
Expand Down
146 changes: 0 additions & 146 deletions nonebot_plugin_localstore/data_source.py

This file was deleted.

13 changes: 12 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ keywords = ["nonebot2", "qq", "plugin"]
[tool.poetry.dependencies]
python = "^3.9"
nonebot2 = "^2.3.0"
nonestorage = "^0.1.0"
typing-extensions = "^4.0.0"
pydantic = ">=1.10.0,<3.0.0,!=2.5.0,!=2.5.1"

Expand Down

0 comments on commit 77def13

Please sign in to comment.