Skip to content

How to setup environment to contribute to sqlglot project? #3115

Closed Answered by georgesittas
sunrutcon asked this question in Q&A
Discussion options

You must be logged in to vote

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 using make install-dev and start hacking away. I usually iterate by making changes, then running make style to catch any linter errors and finally make unit to run the test suite. Prior to opening a PR you can run make 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!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by georgesittas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants