How to setup environment to contribute to sqlglot project? #3115
-
Can you provide some hints, steps on how to setup environment/toolchain to work on sqlglot project? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @sunrutcon 👋 I'd start by cloning the project and creating a Feel free to reach out in Slack to let us know if you plan to contribute or need further assistance. Thanks! |
Beta Was this translation helpful? Give feedback.
Hey @sunrutcon 👋
I'd start by cloning the project and creating a
venv
(python -m venv .venv
) inside the project directory. Then you can install the dev. dependencies usingmake install-dev
and start hacking away. I usually iterate by making changes, then runningmake style
to catch any linter errors and finallymake unit
to run the test suite. Prior to opening a PR you can runmake test
to ensure the integration tests also pass.Feel free to reach out in Slack to let us know if you plan to contribute or need further assistance. Thanks!