update output formatting with basename on PEP257 in output