Skip to content

Commit b85b469

Browse files
committed
Preprocess: fix pylint errors
This fixes a couple of errors introduced in the new pylint version.
1 parent 7ff3ae6 commit b85b469

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
# You should have received a copy of the GNU General Public License
1818
# along with this program. If not, see http://www.gnu.org/licenses/.
1919

20-
from commands import preprocess
2120
import argparse
2221
import concurrent.futures
2322
import os
2423
import shutil
24+
from commands import preprocess
2525

2626

2727
def main():

tests/test_preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import contextlib
2525
import unittest
2626
import unittest.mock
27+
from lxml import etree
2728
from commands.preprocess import build_rename_map
2829
from commands.preprocess import convert_loader_name
2930
from commands.preprocess import has_class
@@ -38,7 +39,6 @@
3839
from commands.preprocess import transform_ranges_placeholder
3940
from commands.preprocess import trasform_relative_link
4041
from commands.preprocess import rename_files
41-
from lxml import etree
4242

4343

4444
class DummyFile(object):

tests/test_preprocess_cssless.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import os
1919
import unittest
20+
from lxml import etree
2021
from commands.preprocess_cssless import preprocess_html_merge_cssless
2122
from commands.preprocess_cssless import silence_cssutils_warnings
2223
from commands.preprocess_cssless import convert_span_tables_to_tr_td
@@ -26,7 +27,6 @@
2627
from commands.preprocess_cssless import convert_font_size_property_to_pt
2728
from commands.preprocess_cssless \
2829
import convert_table_border_top_to_tr_background
29-
from lxml import etree
3030

3131

3232
class TestPreprocessHtmlMergeCss(unittest.TestCase):

0 commit comments

Comments
 (0)