diff --git a/.github/workflows/.github.ci.yml b/.github/workflows/.github.ci.yml index f3a46ef..b6bfc40 100644 --- a/.github/workflows/.github.ci.yml +++ b/.github/workflows/.github.ci.yml @@ -41,8 +41,7 @@ jobs: - name: Run Pylint run: | - # ignore all *_unittest.py files - pylint --ignore-patterns=".*_unittest.py" $(git ls-files '*.py') --rcfile=${{ github.workspace }}/.pylintrc + pylint --ignore-patterns=".*_unittest.py" --disable=unused-argument $(git ls-files '*.py') --rcfile=${{ github.workspace }}/.pylintrc - name: Run Unit tests run: | diff --git a/src/containernet/containernet_network.py b/src/containernet/containernet_network.py index 5452588..11dafd8 100644 --- a/src/containernet/containernet_network.py +++ b/src/containernet/containernet_network.py @@ -33,6 +33,7 @@ def __init__(self, routing_strategy: IRoutingStrategy, ** params) -> None: super().__init__(**params) + self.is_started_flag = False self.containernet = Containernet() self.routing_strategy = routing_strategy self.hosts = [] diff --git a/src/protosuites/proto.py b/src/protosuites/proto.py index d9c9552..209448e 100644 --- a/src/protosuites/proto.py +++ b/src/protosuites/proto.py @@ -46,7 +46,7 @@ def __init__(self, config: ProtoConfig): if not os.path.exists(f"{self.log_dir}"): os.makedirs(f"{self.log_dir}") - self.protocol_args = '' + self.protocol_args: str = '' if self.config.args: for arg in self.config.args: self.protocol_args += arg + ' ' diff --git a/src/testbed/testbed_network.py b/src/testbed/testbed_network.py index 4b0ca3b..18b9e89 100644 --- a/src/testbed/testbed_network.py +++ b/src/testbed/testbed_network.py @@ -18,6 +18,7 @@ def __init__(self, routing_strategy: IRoutingStrategy, ** params) -> None: super().__init__(**params) + self.is_started_flag = False self.routing_strategy = routing_strategy self.hosts = [] self.hosts_conf = hosts_config