From a1f157b9d44e0b67a9b1551d58289b0f51dc1a5d Mon Sep 17 00:00:00 2001
From: Jiri Kalvoda <jirikalvoda@kam.mff.cuni.cz>
Date: Wed, 6 Oct 2021 13:35:38 +0200
Subject: [PATCH] =?UTF-8?q?Import:=20Cleanup:=20Typov=C3=A1n=C3=AD=20u=20l?=
 =?UTF-8?q?og=5F{start,end}?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/imports.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mo/imports.py b/mo/imports.py
index 511602b4..4bcaa635 100644
--- a/mo/imports.py
+++ b/mo/imports.py
@@ -287,7 +287,7 @@ class Import:
         # Definováno odvozenými třídami
         assert NotImplementedError()
 
-    def log_start(self, path):
+    def log_start(self, path) -> None:
         args = [f'user=#{self.user.user_id}', f'fmt={self.fmt.name}']
         if self.round is not None:
             args.append(f'round=#{self.round.round_id}')
@@ -300,7 +300,7 @@ class Import:
 
         logger.info('Import: %s ze souboru %s: %s', self.log_msg_prefix, path, " ".join(args))
 
-    def log_end(self):
+    def log_end(self) -> None:
         args = [f'rows=#{self.cnt_rows}']
         for key, val in [
             ('users', self.cnt_new_users),
-- 
GitLab