mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Align import style with flake8-import-order 0.15
Addresses: https://github.com/PyCQA/flake8-import-order/issues/120 Refs #2246
This commit is contained in:
parent
56a483475b
commit
8ebc120f36
7 changed files with 3 additions and 7 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ import six
|
|||
|
||||
# pelican.log has to be the first pelican module to be loaded
|
||||
# because logging.setLoggerClass has to be called before logging.getLogger
|
||||
from pelican.log import init # noqa
|
||||
from pelican import signals
|
||||
from pelican.log import init
|
||||
from pelican import signals # noqa
|
||||
from pelican.generators import (ArticlesGenerator, PagesGenerator,
|
||||
SourceFileGenerator, StaticGenerator,
|
||||
TemplatePagesGenerator)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
|
||||
from shutil import rmtree
|
||||
from tempfile import mkdtemp
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ from __future__ import unicode_literals
|
|||
|
||||
import locale
|
||||
import os
|
||||
|
||||
from codecs import open
|
||||
from shutil import copy, rmtree
|
||||
from tempfile import mkdtemp
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ from __future__ import print_function, unicode_literals
|
|||
import locale
|
||||
import os
|
||||
import re
|
||||
|
||||
from codecs import open
|
||||
|
||||
from pelican.tests.support import (mute, skipIfNoExecutable, temporary_folder,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ import logging
|
|||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from shutil import rmtree
|
||||
from tempfile import mkdtemp
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import re
|
|||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
from codecs import open
|
||||
|
||||
from six.moves.urllib.error import URLError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue