def python_3000_backticks(logical_line):
 pos = logical_line.find('`')
 if (pos > (-1)):
  (yield (pos, "W604 backticks are deprecated, use 'repr()'"))

def python_3000_backticks ( logical_line ) : pos = logical_line . find ( '`' ) if ( pos > ( - 1 ) ) : ( yield ( pos , "W604 backticks are deprecated, use 'repr()'" ) )
use repr() instead of backticks in python 3 .