Skip to content
Snippets Groups Projects
Commit 42282463 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Remove unused imports.

parent b223a8ab
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,6 @@ import struct ...@@ -22,7 +22,6 @@ import struct
from diffoscope.difference import Difference from diffoscope.difference import Difference
from .utils.file import File from .utils.file import File
from .utils.command import Command
class FontconfigCacheFile(File): class FontconfigCacheFile(File):
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with diffoscope. If not, see <https://www.gnu.org/licenses/>. # along with diffoscope. If not, see <https://www.gnu.org/licenses/>.
import re
from .gzip import GzipFile from .gzip import GzipFile
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with diffoscope. If not, see <https://www.gnu.org/licenses/>. # along with diffoscope. If not, see <https://www.gnu.org/licenses/>.
import re
import json import json
import collections import collections
......
...@@ -22,7 +22,6 @@ import sys ...@@ -22,7 +22,6 @@ import sys
import shutil import shutil
import os.path import os.path
import zipfile import zipfile
import contextlib
from diffoscope.tools import tool_required from diffoscope.tools import tool_required
from diffoscope.difference import Difference from diffoscope.difference import Difference
......
...@@ -50,7 +50,7 @@ from diffoscope.diff import SideBySideDiff, DIFFON, DIFFOFF ...@@ -50,7 +50,7 @@ from diffoscope.diff import SideBySideDiff, DIFFON, DIFFOFF
from ..icon import FAVICON_BASE64 from ..icon import FAVICON_BASE64
from ..utils import sizeof_fmt, PrintLimitReached, DiffBlockLimitReached, \ from ..utils import sizeof_fmt, PrintLimitReached, DiffBlockLimitReached, \
create_limited_print_func, Presenter, make_printer, PartialString Presenter, make_printer, PartialString
from . import templates from . import templates
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
import pytest import pytest
from diffoscope.comparators.apk import ApkFile from diffoscope.comparators.apk import ApkFile
from diffoscope.comparators.xml import XMLFile
from ..utils.data import load_fixture, get_data from ..utils.data import load_fixture, get_data
from ..utils.tools import skip_unless_tools_exist from ..utils.tools import skip_unless_tools_exist
......
...@@ -21,10 +21,8 @@ import pytest ...@@ -21,10 +21,8 @@ import pytest
from diffoscope.comparators.gzip import GzipFile from diffoscope.comparators.gzip import GzipFile
from ..utils import diff_ignore_line_numbers
from ..utils.data import load_fixture, get_data from ..utils.data import load_fixture, get_data
from ..utils.tools import skip_unless_tools_exist from ..utils.tools import skip_unless_tools_exist
from ..utils.nonexisting import assert_non_existing
file1 = load_fixture('test1.rdx') file1 = load_fixture('test1.rdx')
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with diffoscope. If not, see <https://www.gnu.org/licenses/>. # along with diffoscope. If not, see <https://www.gnu.org/licenses/>.
import os
import re
import pytest import pytest
from diffoscope.main import main from diffoscope.main import main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment