The only meaningful change is adding tool.pyright config in pyproject.toml, so that PyRight can see the .venv and resolve imports.
Side-effect: formatted pyproject.toml.
I don't have a very strong opinion. This makes my life easier as Zed doesn't do mypy. But, mypy and Pyright are not quite the same and have slighly different rules, and using PyRight should not be endorsed, and/or Pyright correctness is not guaranteed as far as I understand.
But, I don't think this will hurt us in any way. ;)
What
The only meaningful change is adding
tool.pyright
config inpyproject.toml
, so that PyRight can see the.venv
and resolve imports.Side-effect: formatted pyproject.toml.
I don't have a very strong opinion. This makes my life easier as Zed doesn't do mypy. But, mypy and Pyright are not quite the same and have slighly different rules, and using PyRight should not be endorsed, and/or Pyright correctness is not guaranteed as far as I understand.
But, I don't think this will hurt us in any way. ;)