Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
flake8
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jun 8, 2015
1 parent dd9ed64 commit 3dfcbdd
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion nikola/plugins/command/check.py
Expand Up @@ -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):
Expand Down
1 change: 0 additions & 1 deletion nikola/plugins/command/version.py
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions nikola/plugins/compile/markdown/mdx_gist.py
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/compile/rest/__init__.py
Expand Up @@ -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):
Expand Down
1 change: 0 additions & 1 deletion nikola/plugins/compile/rest/gist.py
Expand Up @@ -6,7 +6,6 @@
from docutils import nodes

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


class Plugin(RestExtension):
Expand Down
2 changes: 0 additions & 2 deletions nikola/plugins/compile/rest/vimeo.py
Expand Up @@ -33,7 +33,6 @@


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


class Plugin(RestExtension):
Expand Down Expand Up @@ -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):
Expand Down
1 change: 0 additions & 1 deletion nikola/plugins/task/galleries.py
Expand Up @@ -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 = {}

Expand Down

0 comments on commit 3dfcbdd

Please sign in to comment.