[SD-1275] fixing flake 8 errors.