Skip to content

Commit

Permalink
make ruff happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jokester committed Oct 15, 2024
1 parent c638f23 commit dc217d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 2 additions & 3 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
# 开发测试配置可放在 configs 文件夹下(已 gitignore)或项目外
# ===========
import dotenv

dotenv.load_dotenv()

from os import environ as env
import urllib.parse as urlparse

dotenv.load_dotenv()

# -----------
# 基础设置
# -----------
Expand Down
4 changes: 0 additions & 4 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
import re
import click
import logging
import dotenv

dotenv.load_dotenv()

from app import flask_app
from app.factory import init_db

Expand Down

0 comments on commit dc217d5

Please sign in to comment.