Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zoe
main
Commits
4006c3ad
Commit
4006c3ad
authored
Jan 10, 2017
by
Daniele Venzano
Browse files
Temporarily disable a buggy pylint check
parent
d777fb53
Changes
3
Hide whitespace changes
Inline
Side-by-side
.pylintrc
View file @
4006c3ad
...
...
@@ -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]
...
...
run_tests.sh
0 → 100644
View file @
4006c3ad
#!/usr/bin/env bash
pylint
*
.py zoe_
*
doc8 docs/
zoe_lib/swarm_client.py
View file @
4006c3ad
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment