-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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
Add docstring linting to core, langchain, partner packages #23188
Labels
🤖:docs
Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
help wanted
Good issue for contributors
Comments
dosubot
bot
added
Ɑ: core
Related to langchain-core
Ɑ: text splitters
Related to text splitters package
🤖:docs
Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
labels
Jun 19, 2024
baskaryan
removed
Ɑ: text splitters
Related to text splitters package
Ɑ: core
Related to langchain-core
labels
Jun 19, 2024
Closed
@baskaryan please review this pr:#23249 |
eyurtsev
pushed a commit
that referenced
this issue
Jun 21, 2024
Description: add lint docstrings for chroma module Issue: the issue #23188 @baskaryan test: ruff check passed. ![image](https://github.com/langchain-ai/langchain/assets/76683249/5e168a0c-32d0-464f-8ddb-110233918019) --------- Co-authored-by: gongwn1 <[email protected]>
This was referenced Jun 22, 2024
ccurme
pushed a commit
that referenced
this issue
Jun 24, 2024
…ules (#23303) Description: add lint docstrings for azure-dynamic-sessions/together modules Issue: #23188 @baskaryan test: ruff check passed. <img width="782" alt="image" src="https://github.com/langchain-ai/langchain/assets/76683249/bf11783d-65b3-4e56-a563-255eae89a3e4"> --------- Co-authored-by: gongwn1 <[email protected]>
Josephasafg
pushed a commit
to joshc-ai21/langchain
that referenced
this issue
Jun 25, 2024
…ules (langchain-ai#23303) Description: add lint docstrings for azure-dynamic-sessions/together modules Issue: langchain-ai#23188 @baskaryan test: ruff check passed. <img width="782" alt="image" src="https://github.com/langchain-ai/langchain/assets/76683249/bf11783d-65b3-4e56-a563-255eae89a3e4"> --------- Co-authored-by: gongwn1 <[email protected]>
mandos21
pushed a commit
to mandos21/langchain
that referenced
this issue
Jul 8, 2024
…ules (langchain-ai#23303) Description: add lint docstrings for azure-dynamic-sessions/together modules Issue: langchain-ai#23188 @baskaryan test: ruff check passed. <img width="782" alt="image" src="https://github.com/langchain-ai/langchain/assets/76683249/bf11783d-65b3-4e56-a563-255eae89a3e4"> --------- Co-authored-by: gongwn1 <[email protected]>
dosubot
bot
added
the
stale
Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
label
Sep 20, 2024
dosubot
bot
removed
the
stale
Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
label
Sep 27, 2024
@baskaryan, could you please review this PR: #27686? |
efriis
added a commit
that referenced
this issue
Oct 31, 2024
Description: add lint docstrings for ollama module Issue: the issue #23188 @baskaryan test: ruff check passed. <img width="311" alt="e94c68ffa93dd518297a95a93de5217" src="https://github.com/user-attachments/assets/e96bf721-e0e3-44de-a50e-206603de398e"> Co-authored-by: Erick Friis <[email protected]>
Alternatively, for the
the below mentioned nested config worked.
|
efriis
added a commit
that referenced
this issue
Dec 9, 2024
As seen in #23188, turned on Google-style docstrings by enabling `pydocstyle` linting in the `text-splitters` package. Each resulting linting error was addressed differently: ignored, resolved, suppressed, and missing docstrings were added. Fixes one of the checklist items from #25154, similar to #25939 in `core` package. Ran `make format`, `make lint` and `make test` from the root of the package `text-splitters` to ensure no issues were found. --------- Co-authored-by: Erick Friis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🤖:docs
Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
help wanted
Good issue for contributors
Privileged issue
Issue Content
We want to add docstring linting to langchain-core, langchain, langchain-text-splitters, and partner packages. This requires adding this to each pacakages pyproject.toml
this will likely cause a number of new linting errors which then need to be fixed. there should be a separate pr for each package. here's a reference for langchain-openai (linting errors have not yet been fixed) #23187
The text was updated successfully, but these errors were encountered: