-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ci): add codespell, apply spell fixes, and update contributing #767
Conversation
WalkthroughThe recent updates across various files in the codebase primarily focus on typo corrections and minor documentation improvements. A new spellcheck step has been added to the CI workflow, and the linting process now includes the examples directory. These changes enhance the readability and maintainability of the code without altering any functionality. Changes
TipsChat with CodeRabbit Bot (
|
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #767 +/- ##
=======================================
Coverage 85.17% 85.17%
=======================================
Files 88 88
Lines 3798 3798
=======================================
Hits 3235 3235
Misses 563 563 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 2
Configuration used: CodeRabbit UI
Files ignored due to filter (2)
- poetry.lock
- pyproject.toml
Files selected for processing (21)
- .github/workflows/ci.yml (1 hunks)
- CONTRIBUTING.md (1 hunks)
- docs/building_docs.md (1 hunks)
- docs/custom-prompts.md (1 hunks)
- examples/from_sql.py (1 hunks)
- examples/with_multiple_dataframes.py (1 hunks)
- pandasai/agent/init.py (1 hunks)
- pandasai/assets/prompt_templates/current_code.tmpl (1 hunks)
- pandasai/connectors/airtable.py (1 hunks)
- pandasai/connectors/sql.py (2 hunks)
- pandasai/exceptions.py (4 hunks)
- pandasai/helpers/code_manager.py (2 hunks)
- pandasai/llm/base.py (1 hunks)
- pandasai/pipelines/logic_units/prompt_execution.py (1 hunks)
- pandasai/pipelines/pipeline.py (1 hunks)
- pandasai/pipelines/smart_datalake_chat/result_parsing.py (1 hunks)
- pandasai/smart_datalake/init.py (1 hunks)
- tests/pipelines/smart_datalake/test_code_execution.py (3 hunks)
- tests/prompts/test_generate_python_code_prompt.py (1 hunks)
- tests/test_agent.py (1 hunks)
- tests/test_smartdataframe.py (3 hunks)
Files skipped from review due to trivial changes (20)
- CONTRIBUTING.md
- docs/building_docs.md
- docs/custom-prompts.md
- examples/from_sql.py
- examples/with_multiple_dataframes.py
- pandasai/agent/init.py
- pandasai/assets/prompt_templates/current_code.tmpl
- pandasai/connectors/airtable.py
- pandasai/connectors/sql.py
- pandasai/exceptions.py
- pandasai/helpers/code_manager.py
- pandasai/llm/base.py
- pandasai/pipelines/logic_units/prompt_execution.py
- pandasai/pipelines/pipeline.py
- pandasai/pipelines/smart_datalake_chat/result_parsing.py
- pandasai/smart_datalake/init.py
- tests/pipelines/smart_datalake/test_code_execution.py
- tests/prompts/test_generate_python_code_prompt.py
- tests/test_agent.py
- tests/test_smartdataframe.py
@mspronesti man one of the most useful PRs of the last few months! Thanks a lot for that, much appreciated! |
Hi @gventuri,
this "cosmetic" PR introduced
codespell
as a dev dependency to flag and solve spelling mistakes in the source code, documentation, examples, and tests.I've thereby updated the contributing docs and the workflows and fixed the typos spotted by
codespell
.Summary by CodeRabbit
Documentation
examples
directory in linting instructions.Bug Fixes
Tests
Chores