Fix pylint warning code W1201

- W1201: Specify string format arguments as logging function parameters
  (logging-not-lazy)
Handle pylint errors related to magic usage