Skip to content

Commit f106ea0

Browse files
committed
modifications to pass pylint test
Signed-off-by: Mohammad Kazemi <[email protected]>
1 parent b748c26 commit f106ea0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pylintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[MESSAGES CONTROL]
22
# C0111 missing-docstring: missing-class-docstring, missing-function-docstring, missing-method-docstring, missing-module-docstrin
33
# consider-using-with: we need it for color formatter pipe
4-
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
4+
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,broad-exception-caught
55
# allow _ for ignored variables
66
# allow generic names like a,b,c and i,j,k,l,m,n and x,y,z
77
# allow k,v for key/value

podman_compose.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2786,7 +2786,7 @@ async def handle_sigint():
27862786
down_args = argparse.Namespace(**dict(args.__dict__, volumes=False))
27872787
await compose.commands["down"](compose, down_args)
27882788
except Exception as e:
2789-
log.error(f"Error during shutdown: {e}")
2789+
log.error("Error during shutdown: %s", e)
27902790
finally:
27912791
for task in tasks:
27922792
task.cancel()

0 commit comments

Comments
 (0)