pyproject.toml, pyrightconfig.json: Require @override

Add mypy's explicit-override error code and pyrightconfig's
reportImplicitOverride "error" directive. This requires all methods
that override base class methods to be decorated with @override from
typing. The change complements the previous commit, which added
exactly that decorator to all relevant methods.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-07-22 15:35:43 +02:00
commit df5785cefd
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
2 changed files with 4 additions and 1 deletions

View file

@ -2,5 +2,6 @@
"typeCheckingMode": "basic",
"pythonPlatform": "Linux",
"useLibraryCodeForTypes": true,
"verboseOutput": false
"verboseOutput": false,
"reportImplicitOverride": "error"
}