Skip to content
Permalink
Browse files
flake8
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jun 8, 2015
1 parent dd9ed64 commit 3dfcbddebc6804da2f127a8d4cb3777cfdddeb42
@@ -40,7 +40,7 @@
import requests

from nikola.plugin_categories import Command
from nikola.utils import get_logger, req_missing
from nikola.utils import get_logger


def _call_nikola_list(site):
@@ -30,7 +30,6 @@
import requests

from nikola.plugin_categories import Command
from nikola.utils import req_missing
from nikola import __version__

URL = 'https://pypi.python.org/pypi?:action=doap&name=Nikola'
@@ -203,12 +203,12 @@
Extension = Pattern = object

from nikola.plugin_categories import MarkdownExtension
from nikola.utils import get_logger, req_missing, STDERR_HANDLER

LOGGER = get_logger('compile_markdown.mdx_gist', STDERR_HANDLER)
from nikola.utils import get_logger, STDERR_HANDLER

import requests

LOGGER = get_logger('compile_markdown.mdx_gist', STDERR_HANDLER)

GIST_JS_URL = "https://gist.github.com/{0}.js"
GIST_FILE_JS_URL = "https://gist.github.com/{0}.js?file={1}"
GIST_RAW_URL = "https://gist.githubusercontent.com/raw/{0}"
@@ -37,7 +37,7 @@
import docutils.writers.html4css1

from nikola.plugin_categories import PageCompiler
from nikola.utils import unicode_str, get_logger, makedirs, req_missing, write_metadata
from nikola.utils import unicode_str, get_logger, makedirs, write_metadata


class CompileRest(PageCompiler):
@@ -6,7 +6,6 @@
from docutils import nodes

from nikola.plugin_categories import RestExtension
from nikola.utils import req_missing


class Plugin(RestExtension):
@@ -33,7 +33,6 @@


from nikola.plugin_categories import RestExtension
from nikola.utils import req_missing


class Plugin(RestExtension):
@@ -91,7 +90,6 @@ def run(self):
return [nodes.raw('', CODE.format(**options), format='html')]

def check_modules(self):
msg = None
return None

def set_video_size(self):
@@ -50,7 +50,6 @@
from nikola import utils
from nikola.image_processing import ImageProcessor
from nikola.post import Post
from nikola.utils import req_missing

_image_size_cache = {}

0 comments on commit 3dfcbdd

Please sign in to comment.