add license text and fix small pylint warning
add license text and fix small pylint warning

warriorframework/warriorframework,warriorframework/warriorframework,warriorframework/warriorframework,warriorframework/warriorframework