[#82175900] fix pyflakes errors