Skip to content
Snippets Groups Projects
Commit bac62031 authored by shinedday's avatar shinedday
Browse files

update pylint

parent fd04a07d
No related branches found
No related tags found
No related merge requests found
...@@ -22,14 +22,14 @@ pylint: ...@@ -22,14 +22,14 @@ pylint:
allow_failure: true allow_failure: true
script: script:
- pip install pylint - 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: flake8:
stage: Code Analysis stage: Code Analysis
allow_failure: true allow_failure: true
script: script:
- pip install flake8 - 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: isort:
stage: Code Analysis stage: Code Analysis
......
...@@ -13,7 +13,7 @@ class Loggable: ...@@ -13,7 +13,7 @@ class Loggable:
def __init__(self): def __init__(self):
self.__do_log = False self.__do_log = False
self.__file_path = None 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: def to_csv(self, cycle: int, var_list: List['Agent']) -> None:
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment