updated gitignore file to ignore pyc files
considering resource_type