Re: VSCode: Just select mypy as your Python linter and it will do all those red underline thingies to report errors in place.
Or set flake8 as your linter if you'd prefer to have PEP violations displayed instead.
Or set flake8 as your linter if you'd prefer to have PEP violations displayed instead.
Actually it looks like I can get flake8 & pyright simultaneously; that's actually the ideal situation I was looking for.