As a Developer I want to create a .gitignore template so that it automatically ignores the python cache files from my IDE when i’m coding.
I think this is relevant for the VIKTOR platform because everytime i run viktor-cli start
despite that I haven’t made any change in my app, it tracks some .pyc
files. I have defined my .gitignore file to contain following yet, it always tracks app.cpython-312.pyc
from __pycache__
folder. Having a template defined by default will allow me to not have to worry about version controlling unnecessary files.
Submitter proposed design (optional)
I always include following in my .gitignore file, maybe this could be a starting point:
# Python cache files
__pycache__/
*.pyc
*.pyo
*.pyd