-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Run Pyright for all workflows #18268
Run Pyright for all workflows #18268
Conversation
# Using getattr instead of node.decorator_list or pyright will complain about an unknown member. | ||
line_end -= len(getattr(node, "decorator_list")) |
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.
Can you report this as a bug on Pylance? That hasattr()
check should cause the entire clause to mark the node
object has having the decorator_list
as an attribute.
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.
* Run Pyright for all workflows * Rename job * Remove special directory * analyze types only in pythonFiles * Install requirements * Fix indentation * Indentation, again * Try excluding lib form pyright * install debugger requirements, tweak extraPaths * Remove debugpy install * Exclude more files * Add more to pyproject.toml, install test reqs * Fix normalizeSelection * Move from exclude to ignore * Update build workflow
Closes #18267