mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 21:46:44 +00:00
Fixes for ruff check
in settings.py
This commit is contained in:
parent
bb6d5c0a48
commit
0f27ffe29e
@ -198,7 +198,7 @@ RENAME_SOURCES = None
|
||||
# You have been warned!
|
||||
|
||||
try:
|
||||
from .local_settings import *
|
||||
from .local_settings import * # noqa
|
||||
except ImportError as e:
|
||||
import sys
|
||||
sys.stderr.write(f'Unable to import local_settings: {e}\n')
|
||||
@ -222,5 +222,5 @@ if BACKGROUND_TASK_ASYNC_THREADS > MAX_BACKGROUND_TASK_ASYNC_THREADS:
|
||||
BACKGROUND_TASK_ASYNC_THREADS = MAX_BACKGROUND_TASK_ASYNC_THREADS
|
||||
|
||||
|
||||
from .dbutils import patch_ensure_connection
|
||||
from .dbutils import patch_ensure_connection # noqa
|
||||
patch_ensure_connection()
|
||||
|
Loading…
Reference in New Issue
Block a user