Commit 4006c3ad authored by Daniele Venzano's avatar Daniele Venzano

Temporarily disable a buggy pylint check

parent d777fb53
......@@ -47,7 +47,7 @@ confidence=
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=line-too-long,logging-format-interpolation,too-few-public-methods,too-many-instance-attributes,fixme,too-many-branches,file-ignored,global-statement,redefined-variable-type,no-self-use,too-many-statements,locally-disabled,arguments-differ,unnecessary-lambda
disable=line-too-long,logging-format-interpolation,too-few-public-methods,too-many-instance-attributes,fixme,too-many-branches,file-ignored,global-statement,redefined-variable-type,no-self-use,too-many-statements,locally-disabled,arguments-differ,unnecessary-lambda,invalid-sequence-index
[REPORTS]
......
#!/usr/bin/env bash
pylint *.py zoe_*
doc8 docs/
......@@ -46,7 +46,7 @@ class DockerContainerOptions:
self.volume_binds = []
self.volumes = []
self.command = ""
self.memory_limit = '2g'
self.memory_limit = 2 * (1024**3)
self.name = ''
self.ports = []
self.network_name = 'bridge'
......@@ -81,7 +81,7 @@ class DockerContainerOptions:
"""Get the volumes in another Docker format."""
return self.volume_binds
def set_command(self, cmd) -> str:
def set_command(self, cmd):
"""Setter for the command to run in the container."""
self.command = cmd
......@@ -400,4 +400,3 @@ class SwarmClient:
return self.cli.logs(docker_id, stdout=True, stderr=True, follow=follow, stream=stream, timestamps=True)
except docker.errors.NullResource:
return None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment