Pyright hasn't complete Django frameworks stubs: it has only its source files. Analysis of source files gives it wrong info about real code behaviour 'cause of Django's complex attribute handling. It causes showing errors about non-existent bugs.
Proposed fixes
It's proposed to remove type-check job from GitHub actions. Raw Pyright cannot do it properly but Pylance extension in VS Code does it perfectly.
Issue
Pyright hasn't complete Django frameworks stubs: it has only its source files. Analysis of source files gives it wrong info about real code behaviour 'cause of Django's complex attribute handling. It causes showing errors about non-existent bugs.
Proposed fixes
It's proposed to remove
type-check
job from GitHub actions. Raw Pyright cannot do it properly but Pylance extension in VS Code does it perfectly.