Update python syntax checking