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
|
# coding=utf-8
|
||||||
|
|
||||||
import os
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
import core
|
import core
|
||||||
|
|
|
@ -5,7 +5,6 @@ import guessit
|
||||||
import requests
|
import requests
|
||||||
from six import text_type
|
from six import text_type
|
||||||
|
|
||||||
import core
|
|
||||||
from core import logger
|
from core import logger
|
||||||
from core.utils.naming import sanitize_name
|
from core.utils.naming import sanitize_name
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import re
|
import re
|
||||||
import core
|
|
||||||
|
|
||||||
|
|
||||||
def sanitize_name(name):
|
def sanitize_name(name):
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import datetime
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
|
|
||||||
import core
|
import core
|
||||||
from core import logger, main_db
|
|
||||||
|
|
||||||
|
|
||||||
def test_eol():
|
def test_eol():
|
||||||
|
@ -19,34 +15,27 @@ def test_cleanup():
|
||||||
|
|
||||||
|
|
||||||
def test_import_core():
|
def test_import_core():
|
||||||
import core
|
pass
|
||||||
from core import logger, main_db
|
|
||||||
|
|
||||||
|
|
||||||
def test_import_core_auto_process():
|
def test_import_core_auto_process():
|
||||||
from core.auto_process import comics, games, movies, music, tv
|
pass
|
||||||
from core.auto_process.common import ProcessResult
|
|
||||||
|
|
||||||
|
|
||||||
def test_import_core_plugins():
|
def test_import_core_plugins():
|
||||||
from core.plugins.downloaders.nzb.utils import get_nzoid
|
pass
|
||||||
from core.plugins.plex import plex_update
|
|
||||||
|
|
||||||
|
|
||||||
def test_import_core_user_scripts():
|
def test_import_core_user_scripts():
|
||||||
from core.user_scripts import external_script
|
pass
|
||||||
|
|
||||||
|
|
||||||
def test_import_six():
|
def test_import_six():
|
||||||
from six import text_type
|
pass
|
||||||
|
|
||||||
|
|
||||||
def test_import_core_utils():
|
def test_import_core_utils():
|
||||||
from core.utils import (
|
pass
|
||||||
char_replace, clean_dir, convert_to_ascii,
|
|
||||||
extract_files, get_dirs, get_download_info,
|
|
||||||
update_download_info_status, replace_links,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def test_initial():
|
def test_initial():
|
||||||
|
|
|
@ -1,14 +1,8 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import datetime
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
import json
|
|
||||||
import time
|
|
||||||
import requests
|
|
||||||
|
|
||||||
import core
|
import core
|
||||||
from core import logger, transcoder
|
from core import transcoder
|
||||||
|
|
||||||
|
|
||||||
def test_transcoder_check():
|
def test_transcoder_check():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue