Add isort pre-commit hook
Sort import statement in python files See https://github.com/PyCQA/isort
This commit is contained in:
parent
b75d9e5c59
commit
01fbd1e8b9
75 changed files with 282 additions and 232 deletions
|
@ -1,5 +1,5 @@
|
|||
from nose.tools import *
|
||||
import airtime_analyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def setup():
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
from nose.tools import *
|
||||
import datetime
|
||||
import multiprocessing
|
||||
import os
|
||||
import shutil
|
||||
import multiprocessing
|
||||
from queue import Queue
|
||||
import datetime
|
||||
from airtime_analyzer.analyzer_pipeline import AnalyzerPipeline
|
||||
|
||||
from airtime_analyzer import config_file
|
||||
from airtime_analyzer.analyzer_pipeline import AnalyzerPipeline
|
||||
from nose.tools import *
|
||||
|
||||
DEFAULT_AUDIO_FILE = u"tests/test_data/44100Hz-16bit-mono.mp3"
|
||||
DEFAULT_IMPORT_DEST = u"Test Artist/Test Album/44100Hz-16bit-mono.mp3"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from nose.tools import *
|
||||
from airtime_analyzer.analyzer import Analyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def setup():
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from nose.tools import *
|
||||
from airtime_analyzer.cuepoint_analyzer import CuePointAnalyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def check_default_metadata(metadata):
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
from nose.tools import *
|
||||
import multiprocessing
|
||||
import os
|
||||
import shutil
|
||||
import multiprocessing
|
||||
import time
|
||||
import mock
|
||||
from pprint import pprint
|
||||
|
||||
import mock
|
||||
from airtime_analyzer.filemover_analyzer import FileMoverAnalyzer
|
||||
from nose.tools import *
|
||||
|
||||
DEFAULT_AUDIO_FILE = u"tests/test_data/44100Hz-16bit-mono.mp3"
|
||||
DEFAULT_IMPORT_DEST = u"Test Artist/Test Album/44100Hz-16bit-mono.mp3"
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
from __future__ import print_function
|
||||
|
||||
import datetime
|
||||
import mutagen
|
||||
|
||||
import mock
|
||||
from nose.tools import *
|
||||
import mutagen
|
||||
from airtime_analyzer.metadata_analyzer import MetadataAnalyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def setup():
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from nose.tools import *
|
||||
from airtime_analyzer.playability_analyzer import *
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def check_default_metadata(metadata):
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from __future__ import print_function
|
||||
from nose.tools import *
|
||||
|
||||
from airtime_analyzer.replaygain_analyzer import ReplayGainAnalyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def check_default_metadata(metadata):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue