๐ผ Contributing to PandasAI
Hi there! Weโre thrilled that youโd like to contribute to this project. Your help is essential for keeping it great.๐ค How to submit a contribution
To make a contribution, follow the following steps:- Fork and clone this repository
- Do the changes on your fork
- 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
๐ฆ Package manager
We usepoetry
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:
๐ Pre-commit
To ensure our standards, make sure to install pre-commit before starting to contribute.๐งน Linting
We useruff
to lint our code. You can run the linter by running the following command:
Code Format with ruff-format
We use ruff
to reformat the code by running the following command:
Spell check
We useecodespell
to check the spelling of our code. You can run codespell by running the following command:
๐งช Testing
We usepytest
to test our code. You can run the tests by running the following command: