Closed ComputerScienceGirl12 closed 3 months ago
This PR addresses Issue #5537.
Changes:
tox.ini
to replace mypy
with pyright
for type checking.requirements/typing.txt
to include pyright
.pyright
, which yielded no errors.This change ensures consistency in type checking tools within the Flask project, aligning with the addition of pyright
in version 3.0.3.
Thanks for looking at this. However, it needs more work. We want to run both tools. We want to install them from the lock file, not directly. I think we actually had it set up before but then it got removed for some reason. You can see the other Pallets repos for how it's set up there. However, just enabling it isn't sufficient either, you need to actually get the tests passing.
git commit -m "Replace mypy with pyright in tox.ini for consistent type checking"