fix some pylint errors and warnings
follow changes in anyconfig.globals, s/getLogger/get_logger/g
fix a PEP8 warnings, the line is too long
make single char arguments and variables allowed
fix some pylint errors and warnings