formatting fixes
adapted changes from #44, added tests, and made it subject to the same 'ignore' logic as the linter.
version 1.6.0