[#1530] add doc string/PEP8/import style fix