-
Notifications
You must be signed in to change notification settings - Fork 16.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
core: Add ruff rules TC #29268
core: Add ruff rules TC #29268
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
aa1bd97
to
a46a24b
Compare
a46a24b
to
f175319
Compare
3da570b
to
91555d0
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.
given the frequency with which this needs to be noqa
for pydantic, I think this should be closed. Thoughts?
91555d0
to
defb8a5
Compare
I excluded TC001,TC002 and TC003 in be64878 so there won't be conflicts with Pydantic. |
e096282
to
be64878
Compare
# Conflicts: # libs/core/langchain_core/utils/function_calling.py # libs/core/pyproject.toml # libs/core/tests/unit_tests/language_models/chat_models/test_base.py
See https://docs.astral.sh/ruff/rules/#flake8-type-checking-tc
Some fixes done for TC001,TC002 and TC003 but these rules are excluded since they don't play well with Pydantic.