forked from extern/podman-compose
reformat
This commit is contained in:
parent
06fc0715fe
commit
da5ee723c3
@ -1,7 +1,7 @@
|
|||||||
[MESSAGES CONTROL]
|
[MESSAGES CONTROL]
|
||||||
# C0111 missing-docstring: missing-class-docstring, missing-function-docstring, missing-method-docstring, missing-module-docstrin
|
# C0111 missing-docstring: missing-class-docstring, missing-function-docstring, missing-method-docstring, missing-module-docstrin
|
||||||
# consider-using-with: we need it for color formatter pipe
|
# consider-using-with: we need it for color formatter pipe
|
||||||
disable=too-many-lines,too-many-branches,too-many-locals,too-many-statements,too-many-arguments,too-many-instance-attributes,fixme,multiple-statements,missing-docstring,line-too-long,consider-using-f-string,consider-using-with
|
disable=too-many-lines,too-many-branches,too-many-locals,too-many-statements,too-many-arguments,too-many-instance-attributes,fixme,multiple-statements,missing-docstring,line-too-long,consider-using-f-string,consider-using-with,unnecessary-lambda-assignment
|
||||||
# allow _ for ignored variables
|
# allow _ for ignored variables
|
||||||
# allow generic names like a,b,c and i,j,k,l,m,n and x,y,z
|
# allow generic names like a,b,c and i,j,k,l,m,n and x,y,z
|
||||||
# allow k,v for key/value
|
# allow k,v for key/value
|
||||||
|
@ -757,7 +757,7 @@ def get_net_args(compose, cnt):
|
|||||||
net_args.extend(["--network", f"container:{other_cnt}"])
|
net_args.extend(["--network", f"container:{other_cnt}"])
|
||||||
else:
|
else:
|
||||||
print(f"unknown network_mode [{net}]")
|
print(f"unknown network_mode [{net}]")
|
||||||
exit(1)
|
sys.exit(1)
|
||||||
proj_name = compose.project_name
|
proj_name = compose.project_name
|
||||||
default_net = compose.default_net
|
default_net = compose.default_net
|
||||||
nets = compose.networks
|
nets = compose.networks
|
||||||
|
Loading…
Reference in New Issue
Block a user