-
Notifications
You must be signed in to change notification settings - Fork 15.7k
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 #25154
Comments
HI, Can I work on this issue? |
copying the update here and fixing all the resulting lint errors would be awesome! #25939 |
Hey I want to take up this issue , can I work on it ? |
I made some changes on libs/core/langchain_core/_api/beta_decorator.py, may I contribute to this issue ? |
@baskaryan From the above list of TODOs, when you review #28127 (current status: quick to review, passes all 52 checks, and ready to merge) for the |
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]>
Privileged issue
Issue Content
We want to start enforcing that all public interfaces have proper Google-style docstrings. This is both to improve our code readability and the quality of our API reference.
We can do this by turning on the lint rules shown here: #23187
For each package in the repo we should turn this on and fix all the resulting lint errors.
Specific TODOs:
[] Turn on for core and fix existing issues. Can see what that looks like here #25939
[] Turn on for each integration package
[] Turn on for langchain
[] Turn on for text-splitters
[] Turn on for community
[] Turn on for experimental
The text was updated successfully, but these errors were encountered: