Fixed couple syntax error
Added rule to ignore pyc files