Make scripts executable, add basic pre-commit setup
Changes to execute ingest.py and privateGPT.py without needing to manually add python3 for executing them.
Also added a "minimal" pre-commit configuration that will not make major changes to the files - for now it removed some spaces at the end of the lines. It also checks spelling, yaml format (useful for the docker configuration that is prepared in another PR).
Should we include pre-commit in requirements and update the Readme to explain how to use it (run pre-commit install)?
When it's mentionned, it's mentionned in a file such as "CONTRIBUTING.md" (example).
I can add such a file with an instruction just for that.
When it's mentionned, it's mentionned in a file such as "CONTRIBUTING.md" (example).
I can add such a file with an instruction just for that.
We can leave it for the near future. We could be creating a section on how to contribute.