From bac6203150dbd819944543bb886e8a5b9517fc97 Mon Sep 17 00:00:00 2001
From: shinedday <shinedday@gmail.com>
Date: Thu, 20 May 2021 09:30:54 +0200
Subject: [PATCH] update pylint

---
 .gitlab-ci.yml                       | 4 ++--
 pyAmakCore/classes/tools/loggable.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 56c1752..2f2b1ae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,14 +22,14 @@ pylint:
   allow_failure: true
   script:
     - pip install pylint
-    - pylint -d C0301,R0902,E0611,E0401 ./pyAmakCore --max-parents=9
+    - pylint -d C0301,R0902,E0611,E0401,C0413,R0201 ./pyAmakCore/classes --max-parents=9
 
 flake8:
   stage: Code Analysis
   allow_failure: true
   script:
     - pip install flake8
-    - flake8 --verbose --max-line-length=120 --max-complexity 8 ./pyAmakCore
+    - flake8 --verbose --max-line-length=120 --max-complexity 8 ./pyAmakCore/classes
 
 isort:
   stage: Code Analysis
diff --git a/pyAmakCore/classes/tools/loggable.py b/pyAmakCore/classes/tools/loggable.py
index 5ac77e2..97584df 100644
--- a/pyAmakCore/classes/tools/loggable.py
+++ b/pyAmakCore/classes/tools/loggable.py
@@ -13,7 +13,7 @@ class Loggable:
     def __init__(self):
         self.__do_log = False
         self.__file_path = None
-        self.__ignore_attribute = ["_Agent__amas", "_Agent__environment"]
+        self.__ignore_attribute: List[str] = ["_Agent__amas", "_Agent__environment"]
 
     def to_csv(self, cycle: int, var_list: List['Agent']) -> None:
         """
-- 
GitLab