Skip to content
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

multiple: Remove unnecessary Ruff suppression comments #21050

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

charliermarsh
Copy link
Contributor

Summary

I ran ruff check --extend-select RUF100 -n to identify # noqa comments that weren't having any effect in Ruff, and then ruff check --extend-select RUF100 -n --fix on select files to remove all of the unnecessary # noqa: F401 violations. It's possible that these were needed at some point in the past, but they're not necessary in Ruff v0.1.15 (used by LangChain) or in the latest release.

@efriis efriis added the partner label Apr 30, 2024
@efriis efriis self-assigned this Apr 30, 2024
Copy link

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Apr 30, 2024 5:08pm

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. 🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs labels Apr 30, 2024
@efriis efriis enabled auto-merge (squash) April 30, 2024 17:08
@efriis efriis disabled auto-merge April 30, 2024 17:08
@efriis efriis changed the title Remove unnecessary Ruff suppression comments multiple: Remove unnecessary Ruff suppression comments Apr 30, 2024
@efriis efriis enabled auto-merge (squash) April 30, 2024 17:08
@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Apr 30, 2024
@efriis efriis merged commit 8f38b7a into langchain-ai:master Apr 30, 2024
74 checks passed
@charliermarsh charliermarsh deleted the charlie/noqa branch April 30, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm PR looks good. Use to confirm that a PR is ready for merging. 🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs partner size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants