pythonstubs icon indicating copy to clipboard operation
pythonstubs copied to clipboard

Make type checkers recognize operator methods

Open Donghyun-Edit opened this issue 6 months ago • 0 comments

This is a PR that converts C# operator methods into those of Python. By doing so, type checkers such as Pyright and Mypy can understand that these classes support specific operators. Currently, operators invoke type errors.

image

I didn't run .\build-rhino-stubs.ps1 yet because I didn't want to mess up the versioning compatiblity, but I can Run the Powershell script and update the PR if it helps(My PC has Rhino 7.37 and Dotnet 4.8).

Donghyun-Edit avatar Aug 04 '24 05:08 Donghyun-Edit