Ignoring pyc and log files