diff --git a/soitool/database.py b/soitool/database.py
index c6c3ed880c87de0a36075434527ff5865d76e76d..c96f56e200c83c1d6ead2c4dfb2d061ab8548d63 100644
--- a/soitool/database.py
+++ b/soitool/database.py
@@ -39,6 +39,14 @@ class Database:
     """
 
     def __init__(self, auto_update=True):
+        """
+        Constructor.
+
+        Parameters
+        ----------
+        auto_update: bool
+            Automatically update database on time or not
+        """
         db_exists = os.path.exists(DBPATH)
 
         if db_exists:
@@ -60,7 +68,9 @@ class Database:
             self.timer.setInterval(
                 self.seconds_to_next_update(SECONDS_IN_24H * 1000)
             )
-            self.timer.timeout.connect(lambda: self.update_codebook_auto())
+            self.timer.timeout.connect(
+                lambda: self.update_codebook_auto()  # pylint: disable=W0108
+            )
             self.timer.start()
 
         self.conn.row_factory = sqlite3.Row  # Enables row['columnName']