2 ms·
so add them to your gitignore.....
by 5h 14y ago
so add them to your gitignore.....
- brown9-2 14y agoThe problem being described is not .pyc files being pushed in the git repository. The problem is on the target server, the python runtime creates .pyc files for modules as they are imported/used, and if a deployment removes some .py files, you would be left with the .pyc file unless you take (simple) action to remove it during the deployment.
- 5h 14y agoof course, the perils of replying after skim reading! as pointed out, hooks are a perfect fit for this.