From fe47fac1b9c55d74ec90a66b344d35805aaac4c6 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Fri, 28 Aug 2020 15:06:13 +0200
Subject: [PATCH] STY: autopep8'ed  crawler.py and test_table_importer.py

---
 src/caosadvancedtools/crawler.py | 2 +-
 unittests/test_table_importer.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/caosadvancedtools/crawler.py b/src/caosadvancedtools/crawler.py
index 15d780db..5ce325e0 100644
--- a/src/caosadvancedtools/crawler.py
+++ b/src/caosadvancedtools/crawler.py
@@ -248,7 +248,7 @@ class Crawler(object):
                             matches[idx])+"\n")
 
                 logger.debug(msg, extra={"identifier": str(item),
-                                           'category': "matches"})
+                                         'category': "matches"})
 
     def cached_find_identifiables(self, identifiables):
         if self.use_cache:
diff --git a/unittests/test_table_importer.py b/unittests/test_table_importer.py
index db40361c..02321288 100644
--- a/unittests/test_table_importer.py
+++ b/unittests/test_table_importer.py
@@ -71,7 +71,7 @@ class ConverterTest(unittest.TestCase):
         df = xls_file.parse()
         df = self.importer.read_xls(test_file)
         assert df.shape[0] == 2
-        assert df.d.iloc[0] == datetime.datetime(1980,12,31,13,24,23)
+        assert df.d.iloc[0] == datetime.datetime(1980, 12, 31, 13, 24, 23)
 
     def test_date(self):
         test_file = os.path.join(os.path.dirname(__file__), "date.xlsx")
-- 
GitLab