[diffoscope] 01/05: Drop unused imports

Chris Lamb chris at chris-lamb.co.uk
Sat Mar 3 23:45:51 CET 2018


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit 010fd517b1e97cfd6d7effa76e5b643d159602ba
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Mar 3 22:33:40 2018 +0000

    Drop unused imports
---
 diffoscope/comparators/gzip.py          | 1 -
 diffoscope/comparators/png.py           | 1 -
 diffoscope/comparators/utils/command.py | 2 --
 tests/comparators/test_directory.py     | 1 -
 tests/test_presenters.py                | 1 -
 tests/test_source.py                    | 1 -
 6 files changed, 7 deletions(-)

diff --git a/diffoscope/comparators/gzip.py b/diffoscope/comparators/gzip.py
index 3ff131c..39598f4 100644
--- a/diffoscope/comparators/gzip.py
+++ b/diffoscope/comparators/gzip.py
@@ -22,7 +22,6 @@ import logging
 import subprocess
 
 from diffoscope.tools import tool_required
-from diffoscope.difference import Difference
 
 
 from .utils.file import File
diff --git a/diffoscope/comparators/png.py b/diffoscope/comparators/png.py
index e11d3a1..18c6319 100644
--- a/diffoscope/comparators/png.py
+++ b/diffoscope/comparators/png.py
@@ -19,7 +19,6 @@
 
 import re
 import logging
-import functools
 import subprocess
 
 from diffoscope.config import Config
diff --git a/diffoscope/comparators/utils/command.py b/diffoscope/comparators/utils/command.py
index e257ca9..75f8bae 100644
--- a/diffoscope/comparators/utils/command.py
+++ b/diffoscope/comparators/utils/command.py
@@ -17,12 +17,10 @@
 # You should have received a copy of the GNU General Public License
 # along with diffoscope.  If not, see <https://www.gnu.org/licenses/>.
 
-import io
 import abc
 import logging
 import shlex
 import subprocess
-import threading
 
 logger = logging.getLogger(__name__)
 
diff --git a/tests/comparators/test_directory.py b/tests/comparators/test_directory.py
index 869e098..cc184e3 100644
--- a/tests/comparators/test_directory.py
+++ b/tests/comparators/test_directory.py
@@ -22,7 +22,6 @@ import os
 import shutil
 import pytest
 
-from diffoscope.config import Config
 from diffoscope.comparators.binary import FilesystemFile
 from diffoscope.comparators.directory import compare_directories
 from diffoscope.comparators.utils.specialize import specialize
diff --git a/tests/test_presenters.py b/tests/test_presenters.py
index 66561db..ff751fc 100644
--- a/tests/test_presenters.py
+++ b/tests/test_presenters.py
@@ -17,7 +17,6 @@
 # You should have received a copy of the GNU General Public License
 # along with diffoscope.  If not, see <https://www.gnu.org/licenses/>.
 
-import io
 import os
 import re
 import pytest
diff --git a/tests/test_source.py b/tests/test_source.py
index 998e850..71f3b81 100644
--- a/tests/test_source.py
+++ b/tests/test_source.py
@@ -19,7 +19,6 @@
 
 import os
 import glob
-import pytest
 import diffoscope
 
 BASE_DIR = os.path.dirname(os.path.abspath(diffoscope.__file__))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list