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 CISigned-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
36d854ce19
commit
8c5c98c95a
4 changed files with 15 additions and 2 deletions
6
conf/project/pyrightconfig-base.json
Normal file
6
conf/project/pyrightconfig-base.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"typeCheckingMode": "basic",
|
||||
"pythonPlatform": "Linux",
|
||||
"useLibraryCodeForTypes": true,
|
||||
"verboseOutput": false
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue