From 4644c7e35ef9e39bf14ba37dfb5f4bdd646fddb8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:55:55 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/codecov.yml | 2 +- ruia_peewee_async/__init__.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 83e35d7..1202687 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -46,7 +46,7 @@ jobs: matrix: os: [ubuntu-20.04, ubuntu-latest] python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] - exclude: + exclude: - os: ubuntu-latest python-version: "3.6" - os: ubuntu-20.04 diff --git a/ruia_peewee_async/__init__.py b/ruia_peewee_async/__init__.py index bc897e5..d310e7b 100644 --- a/ruia_peewee_async/__init__.py +++ b/ruia_peewee_async/__init__.py @@ -392,7 +392,6 @@ def after_start(**kwargs): mysql, mysql_model, postgres, postgres_model = check_config(kwargs) async def init_after_start(spider_ins): - if mysql and mysql_model: spider_ins.mysql_config = mysql # spider_ins.mysql_model = mysql_model