Skip to content

⬆️ basedpyright 1.31.4 (pyright 1.1.405)#708

Merged
jorenham merged 6 commits into
mainfrom
pyright-1.1.405
Sep 17, 2025
Merged

⬆️ basedpyright 1.31.4 (pyright 1.1.405)#708
jorenham merged 6 commits into
mainfrom
pyright-1.1.405

Conversation

@jorenham
Copy link
Copy Markdown
Member

No description provided.

@jorenham jorenham mentioned this pull request Sep 17, 2025
@jorenham
Copy link
Copy Markdown
Member Author

There are now 312 false positive remaining. I'm not sure how to work around these yet, because these all located in the generated tests (scalar_ops_modular and ndarray_divmod), and there's no obvious pattern that could be used to easily write a special-cased rule to generate # pyright: ignores from.

I guess I'll try shuffling some overloads and see if that can help somehow...

@jorenham
Copy link
Copy Markdown
Member Author

jorenham commented Sep 17, 2025

It's far from pretty, but the ndarray_divmod testgen now contains a workaround for the pyright false positive's. Next up are the 123 remaining errors in scalar_ops_modular, which should be the last one.

@jorenham
Copy link
Copy Markdown
Member Author

This took me half a day; fun...

@jorenham jorenham merged commit 8383364 into main Sep 17, 2025
20 checks passed
@jorenham jorenham deleted the pyright-1.1.405 branch September 17, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant