mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Standardize __future__ imports without parentheses
Since the list is short enough now, we don't need parentheses for the line wrap. This is a little less ugly.
This commit is contained in:
parent
d53019f9db
commit
e54c7eec3d
129 changed files with 130 additions and 130 deletions
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Facilities for automatically determining files' correct metadata.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets import logging
|
||||
from beets import config
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
"""Glue between metadata sources and the matching logic."""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from collections import namedtuple
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
releases and tracks.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import datetime
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Searches for albums in the MusicBrainz database.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import musicbrainzngs
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""DBCore is an abstract database package that forms the basis for beets'
|
||||
Library.
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from .db import Model, Database
|
||||
from .query import Query, FieldQuery, MatchQuery, AndQuery, OrQuery
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""The central Model and Database constructs for DBCore.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import time
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""The Query type hierarchy for DBCore.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
from operator import mul
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Representation of type information for DBCore model fields.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from . import query
|
||||
from beets.util import str2bool
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
"""Provides the basic, interface-agnostic workflow for importing and
|
||||
autotagging music files.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""The core data store and collection logic for beets.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ that when getLogger(name) instantiates a logger that logger uses
|
|||
{}-style formatting.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from copy import copy
|
||||
from logging import * # noqa
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ Internally ``MediaFile`` uses ``MediaField`` descriptors to access the
|
|||
data from the tags. In turn ``MediaField`` uses a number of
|
||||
``StorageStyle`` strategies to handle format specific logic.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import mutagen
|
||||
import mutagen.mp3
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Support for beets plugins."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import inspect
|
||||
import traceback
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ interface. To invoke the CLI, just call beets.ui.main(). The actual
|
|||
CLI commands are implemented in the ui.commands module.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import locale
|
||||
import optparse
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
interface.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Miscellaneous utility functions."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Abstraction layer to resize images using PIL, ImageMagick, or a
|
||||
public resizing proxy if neither is available.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import urllib
|
||||
import subprocess
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ asyncore.
|
|||
|
||||
Bluelet: easy concurrency without all the messy parallelism.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import socket
|
||||
import select
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Worry-free YAML configuration files.
|
||||
"""
|
||||
from __future__ import (absolute_import, print_function, division)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import platform
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from enum import Enum
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ This is sort of like a tiny, horrible degeneration of a real templating
|
|||
engine like Jinja2 or Mustache.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
import ast
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ To do so, pass an iterable of coroutines to the Pipeline constructor
|
|||
in place of any single coroutine.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import Queue
|
||||
from threading import Thread, Lock
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""A simple utility for constructing filesystem-like trees from beets
|
||||
libraries.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from collections import namedtuple
|
||||
from beets import util
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
"""A namespace package for beets plugins."""
|
||||
|
||||
# Make this a namespace package.
|
||||
from __future__ import absolute_import
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
# Make this a namespace package.
|
||||
from pkgutil import extend_path
|
||||
__path__ = extend_path(__path__, __name__)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Fetch various AcousticBrainz metadata using MBID.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import requests
|
||||
import operator
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Use command-line tools to check for audio file corruption.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets.ui import Subcommand
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Beets library. Attempts to implement a compatible protocol to allow
|
|||
use of the wide range of MPD clients.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
from string import Template
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
music player.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import sys
|
||||
import time
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Determine BPM by pressing a key to the rhythm."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import time
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Provides the %bucket{} function for path formatting.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from datetime import datetime
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Adds Chromaprint/Acoustid acoustic fingerprinting support to the
|
||||
autotagger. Requires the pyacoustid library.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets import plugins
|
||||
from beets import ui
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Converts tracks or albums to external directory
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import threading
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Adds Discogs album search support to the autotagger. Requires the
|
||||
discogs-client library.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import beets.ui
|
||||
from beets import logging
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""List duplicate tracks or albums.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import shlex
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Fetch a variety of acoustic metrics from The Echo Nest.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import time
|
||||
import socket
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
"""Open metadata information in a text editor to let the user edit it.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets import plugins
|
||||
from beets import util
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
"""Allows beets to embed album art into file metadata."""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os.path
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
username: user
|
||||
password: password
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets import config
|
||||
from beets.plugins import BeetsPlugin
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Fetches album art.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from contextlib import closing
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Creates freedesktop.org-compliant .directory files on an album level.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets import ui
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""If the title is empty, try to extract track and title from the
|
||||
filename.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets import plugins
|
||||
from beets.util import displayable_path
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Moves "featured" artists to the title from the artist field.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Provides a fuzzy matching query.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets.dbcore.query import StringFieldQuery
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
"""Warns you about things you hate (or even blocks import)."""
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ modification time (mtime) of the item's source file before import.
|
|||
|
||||
Reimported albums and items are skipped.
|
||||
"""
|
||||
from __future__ import (absolute_import, print_function, division)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
"""Write paths of imported files in various formats to ease later import in a
|
||||
music player. Also allow printing the new file locations to stdout in case
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Shows file metadata.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import re
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Allows inline path template customization code in the config file.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import traceback
|
||||
import itertools
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Uses the `KeyFinder` program to add the `initial_key` field.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import subprocess
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
"""Gets genres for imported music based on Last.fm tags.
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import pylast
|
||||
from pylast import TopItem, _extract, _number
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Fetches, embeds, and displays lyrics.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
import requests
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets.ui import Subcommand
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ implemented by MusicBrainz yet.
|
|||
[1] http://wiki.musicbrainz.org/History:How_To_Parse_Track_Listings
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
|
||||
from beets.autotag import Recommendation
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Update library's tags using MusicBrainz.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets import autotag, library, ui, util
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""List missing tracks.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.autotag import hooks
|
||||
from beets.library import Item
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import mpd
|
||||
import socket
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ Put something like the following in your config.yaml to configure:
|
|||
port: 6600
|
||||
password: seekrit
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
"""Fixes file permissions after the file gets written on import. Put something
|
||||
like the following in your config.yaml to configure:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Send the results of a query to the configured music player as a playlist.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets.ui import Subcommand
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Put something like the following in your config.yaml to configure:
|
|||
port: 32400
|
||||
token: token
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import requests
|
||||
from urlparse import urljoin
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Get a random song or album from the library.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets.ui import Subcommand, decargs, print_
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import subprocess
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Uses user-specified rewriting rules to canonicalize names for path
|
||||
formats.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
from collections import defaultdict
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
automatically whenever tags are written.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets import ui
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""Generates smart playlists based on beets queries.
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets import ui
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
import webbrowser
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Moves patterns in path formats (suitable for moving articles)."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
from beets.plugins import BeetsPlugin
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ This plugin is POSIX-only.
|
|||
Spec: standards.freedesktop.org/thumbnail-spec/latest/index.html
|
||||
"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from hashlib import md5
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets.dbcore import types
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
"""A Web interface to beets."""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets import ui
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
""" Clears tag fields in media files."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
from beets.plugins import BeetsPlugin
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
"""Some common functionality for beets' test cases."""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import time
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ information or mock the environment.
|
|||
"""
|
||||
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets import ui
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Tests for the album art fetchers."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import shutil
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Tests for autotagging functionality.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
import copy
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Tests for the 'bucket' plugin."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from test._common import unittest
|
||||
from beetsplug import bucket
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import yaml
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import re
|
||||
import os.path
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Test for dbcore's date-based queries.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from test import _common
|
||||
from test._common import unittest
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Tests for the DBCore database abstraction.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import shutil
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os.path
|
||||
from mock import Mock, patch
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
import codecs
|
||||
|
||||
from mock import patch
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os.path
|
||||
import shutil
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from test._common import unittest
|
||||
from test.helper import TestHelper
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
from test._common import unittest
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Test file manipulation functionality of Item.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import shutil
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Tests for the 'ftintitle' plugin."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from test._common import unittest
|
||||
from test.helper import TestHelper
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
"""Tests for the 'ihate' plugin"""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from test._common import unittest
|
||||
from beets import importer
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
"""Tests for the `importadded` plugin."""
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
"""Tests for the general importer functionality.
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import os.path
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from test._common import unittest
|
||||
from test.helper import TestHelper
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# The above copyright notice and this permission notice shall be
|
||||
# included in all copies or substantial portions of the Software.
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from mock import patch
|
||||
from test._common import unittest
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Tests for the 'lastgenre' plugin."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
from mock import Mock
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Tests for non-query database functions of Item.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import os
|
||||
import os.path
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""Stupid tests that ensure logging works as expected"""
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
from __future__ import division, absolute_import, print_function
|
||||
|
||||
import sys
|
||||
import threading
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue