Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
To make a contribution, follow the following steps:
- Clone this repository
- Create a new branch (feat, fix, test)
- Do the changes on your branch
- If you modified the code (new feature or bug-fix), please add tests for it
- Check the linting see below
- Ensure that all tests pass see below
- Submit a pull request
For more details about pull requests, please read GitHub's guides.
We use poetry as our package manager. You can install poetry by following the instructions here.
Please DO NOT use pip or conda to install the dependencies. Instead, use poetry:
poetry install --all-extrasTo ensure our standards, make sure to install pre-commit before starting to contribute.
pre-commit installWe use ruff to lint our code. You can run the linter by running the following command:
ruff pandasai examplesMake sure that the linter does not report any errors or warnings before submitting a pull request.
We use black to reformat the code by running the following command:
black pandasai We use pytest to test our code. You can run the tests by running the following command:
poetry run pytestMake sure that all tests pass before submitting a pull request.