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
I was playing with the new basedpyright integration in the 0.14.16 release and found the default rules will tag unused call results with a warning. In a notebook context this results in a lot of warnings, so I tried following basedpyright's instructions for disabling those warnings. I could not figure out the right place to include those custom rules and whether marimo's lsp server would actually respect those rules.
In my project directory I tried a few ways to make a configuration. In my pyproject.toml, I tried both
I also tried creating pyrightconfig.json file with the rule enabled. Is there a known correct way to set up this configuration or is it not possible with the current implementation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I was playing with the new basedpyright integration in the 0.14.16 release and found the default rules will tag unused call results with a warning. In a notebook context this results in a lot of warnings, so I tried following basedpyright's instructions for disabling those warnings. I could not figure out the right place to include those custom rules and whether marimo's lsp server would actually respect those rules.
In my project directory I tried a few ways to make a configuration. In my pyproject.toml, I tried both
and (based on seeing the global marimo.toml file layout)
I also tried creating pyrightconfig.json file with the rule enabled. Is there a known correct way to set up this configuration or is it not possible with the current implementation?
Beta Was this translation helpful? Give feedback.
All reactions