Fix W1201: logging-not-lazy
Fix C0326: Bad whitespace