Fix the rest of the medium level bandit findings. This allows enabling more strict policy - when a new medium/high level warning appears, tests will fail.
Additionally, fix new type flake8 issues.
Signed-off-by: Ondrej Nosek onosek@redhat.com
rebased onto ec754808bf34956e994bd158f441203c9c3b08c9
Pull-Request has been merged by onosek
Fix the rest of the medium level bandit findings. This allows enabling
more strict policy - when a new medium/high level warning appears, tests
will fail.
Additionally, fix new type flake8 issues.
Signed-off-by: Ondrej Nosek onosek@redhat.com