From 64bce278b1f9872a1102aec2eebc1b3323ca3580 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sun, 28 Jan 2024 10:44:23 +0100 Subject: [PATCH] linting --- dotdrop/comparator.py | 2 +- tests/test_compare.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dotdrop/comparator.py b/dotdrop/comparator.py index 3f2893b..2c19de2 100644 --- a/dotdrop/comparator.py +++ b/dotdrop/comparator.py @@ -134,7 +134,7 @@ class Comparator: if not os.path.isdir(deployed_path): return f'\"{deployed_path}\" is a file\n' - #return self._compare_dirs(local_path, deployed_path, ignore) + # return self._compare_dirs(local_path, deployed_path, ignore) return self._compare_dirs2(local_path, deployed_path, ignore) def _compare_dirs2(self, local_path, deployed_path, ignore): diff --git a/tests/test_compare.py b/tests/test_compare.py index c27d301..fdd7ef9 100644 --- a/tests/test_compare.py +++ b/tests/test_compare.py @@ -129,7 +129,6 @@ class TestCompare(unittest.TestCase): expected = {df1: True, df2: True, df3: True, df4: True, df5: True, df9: True} results = self.compare(opt, tmp, len(dfiles)) - self.maxDiff = None self.assertEqual(results, expected) # modify file