py-topdir.mk: Use pyright

py-topdir.mk: Use ruff and yapf

- Use pyright for the target py-check-syntax

- Generate a $(TOPDIR)/pyrightconfig.json for that

- Add pyrightconfig-base.json because it's used by pyrightconfig.json
- Add python3-pyright to pkg.requires.release, anticipating the use of the py-syntax-check target by CI
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-05-27 18:59:00 +02:00
commit 8c5c98c95a
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
4 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,6 @@
{
"typeCheckingMode": "basic",
"pythonPlatform": "Linux",
"useLibraryCodeForTypes": true,
"verboseOutput": false
}