Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetWq committed Feb 24, 2024
1 parent 032de2b commit cdbd653
Show file tree
Hide file tree
Showing 6 changed files with 748 additions and 1,108 deletions.
2 changes: 0 additions & 2 deletions .github/actions/setup-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ runs:
python-version: ${{ inputs.python-version }}
- name: Setup Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "1.3.2"
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
MYSQL_ROOT_PASSWORD: mysql
MYSQL_USER: mysql
MYSQL_PASSWORD: mysql
MYSQL_DATABASE: mysql
MYSQL_DATABASE: test
ports:
- 3306:3306
options: --health-cmd "mysqladmin ping -h localhost -umysql -pmysql" --health-interval 10s --health-timeout 5s --health-retries 5
Expand All @@ -107,7 +107,7 @@ jobs:
run: poetry install
- name: Run tests
run: |
sed -ie "s#sqlite+aiosqlite:///:memory:#mysql+aiomysql://mysql:mysql@localhost:3306/mysql#g" tests/conftest.py
sed -ie "s#sqlite+aiosqlite:///:memory:#mysql+aiomysql://mysql:mysql@localhost:3306/test#g" tests/conftest.py
sed -ie "s#StaticPool#NullPool#g" tests/conftest.py
poetry run pytest --cov-report xml
Expand Down
4 changes: 3 additions & 1 deletion nonebot_plugin_session_orm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
require("nonebot_plugin_session")

from . import migrations
from .model import SessionModel, get_session_by_persist_id, get_session_persist_id
from .model import SessionModel as SessionModel
from .model import get_session_by_persist_id as get_session_by_persist_id
from .model import get_session_persist_id as get_session_persist_id

__plugin_meta__ = PluginMetadata(
name="session 插件 orm 扩展",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""init_db
修订 ID: fff55366306e
父修订:
父修订:
创建时间: 2023-10-07 16:34:54.127642
"""
Expand Down
Loading

0 comments on commit cdbd653

Please sign in to comment.