From da5ee723c3206bcd9da938f861b3963c9756fd47 Mon Sep 17 00:00:00 2001 From: Muayyad alsadi Date: Tue, 21 Jun 2022 21:54:44 +0300 Subject: [PATCH] reformat --- .pylintrc | 2 +- podman_compose.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 030db9c..75169ce 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,7 +1,7 @@ [MESSAGES CONTROL] # 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 -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 generic names like a,b,c and i,j,k,l,m,n and x,y,z # allow k,v for key/value diff --git a/podman_compose.py b/podman_compose.py index ee32a80..ea137b7 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -757,7 +757,7 @@ def get_net_args(compose, cnt): net_args.extend(["--network", f"container:{other_cnt}"]) else: print(f"unknown network_mode [{net}]") - exit(1) + sys.exit(1) proj_name = compose.project_name default_net = compose.default_net nets = compose.networks