mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
Fix flake8 F401 imported but unused
This commit is contained in:
parent
faa378f787
commit
644a11118c
5 changed files with 7 additions and 29 deletions
|
@ -1,8 +1,5 @@
|
|||
# coding=utf-8
|
||||
|
||||
import os
|
||||
import shutil
|
||||
|
||||
import requests
|
||||
|
||||
import core
|
||||
|
|
|
@ -5,7 +5,6 @@ import guessit
|
|||
import requests
|
||||
from six import text_type
|
||||
|
||||
import core
|
||||
from core import logger
|
||||
from core.utils.naming import sanitize_name
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import re
|
||||
import core
|
||||
|
||||
|
||||
def sanitize_name(name):
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#! /usr/bin/env python
|
||||
from __future__ import print_function
|
||||
import datetime
|
||||
import os
|
||||
import sys
|
||||
|
||||
import core
|
||||
from core import logger, main_db
|
||||
|
||||
|
||||
def test_eol():
|
||||
|
@ -19,34 +15,27 @@ def test_cleanup():
|
|||
|
||||
|
||||
def test_import_core():
|
||||
import core
|
||||
from core import logger, main_db
|
||||
pass
|
||||
|
||||
|
||||
def test_import_core_auto_process():
|
||||
from core.auto_process import comics, games, movies, music, tv
|
||||
from core.auto_process.common import ProcessResult
|
||||
pass
|
||||
|
||||
|
||||
def test_import_core_plugins():
|
||||
from core.plugins.downloaders.nzb.utils import get_nzoid
|
||||
from core.plugins.plex import plex_update
|
||||
pass
|
||||
|
||||
|
||||
def test_import_core_user_scripts():
|
||||
from core.user_scripts import external_script
|
||||
pass
|
||||
|
||||
|
||||
def test_import_six():
|
||||
from six import text_type
|
||||
pass
|
||||
|
||||
|
||||
def test_import_core_utils():
|
||||
from core.utils import (
|
||||
char_replace, clean_dir, convert_to_ascii,
|
||||
extract_files, get_dirs, get_download_info,
|
||||
update_download_info_status, replace_links,
|
||||
)
|
||||
pass
|
||||
|
||||
|
||||
def test_initial():
|
||||
|
|
|
@ -1,14 +1,8 @@
|
|||
#! /usr/bin/env python
|
||||
from __future__ import print_function
|
||||
import datetime
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
import time
|
||||
import requests
|
||||
|
||||
import core
|
||||
from core import logger, transcoder
|
||||
from core import transcoder
|
||||
|
||||
|
||||
def test_transcoder_check():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue