You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a legit bug. We have to defer checking function scopes until we've parsed the rest of the module. It's known but unhandled. Gonna use this issue for tracking.
Ruff looks great, congratulations. I'd love to use it one day on pydantic instead of flake8.
The following code is valid python and runs fine
However ruff returns:
Running ruff on pydantic's code base is currently returning 151
F821
errors, so it's a fairly common problem.The text was updated successfully, but these errors were encountered: