-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
ref: Add ruff rules for Pathlib (PTH) #4035
Conversation
@@ -53,7 +55,7 @@ def build_vector_store(self) -> Redis: | |||
documents.append(_input.to_lc_document()) | |||
else: | |||
documents.append(_input) | |||
with open("docuemnts.txt", "w") as f: | |||
with Path("docuemnts.txt").open("w") as f: |
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.
typo in file name but I'm not sure of the impact if we change it...
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.
It seems like this is not being used anywhere
This pull request is automatically being deployed by Amplify Hosting (learn more). |
7c24564
to
ab032a0
Compare
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.
LGTM
ab032a0
to
19452ce
Compare
19452ce
to
f821c98
Compare
Add ruff rules for Pathlib (PTH)
Add ruff rules for Pathlib (PTH)
Add ruff rules for Pathlib (PTH)