Build and packaging library
  • Python 48.7%
  • Makefile 37.5%
  • Shell 13.8%
Find a file
Jan Lindemann c0c9148281
cmds.projects.CmdCreateFile: Add subdirs src/python

In order to allow Pyright to check the types provided by dependant repositories without installing them, pyrightconfig.json contains a list of paths to their root directories in "extraPaths". These paths are unusable for Pyright, though: For type checking to work, it needs to be pointed to the "jw" namespace package paths within those repos. This commit achieves that by appending the subdirs src/python and tools/python to them, provided they exist.

TODO: This fix hardcodes the current project directory structure. Better would be a way to customize that via makefiles, where the paths can be more easily customized.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-09 07:45:15 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
make py-topdir.mk: Introduce $(PY_CHECK_ROOTS) 2026-06-09 07:45:15 +02:00
scripts jw-pkg-create-project.sh: Gitignore .cache-project.mk 2026-06-08 20:25:15 +02:00
src cmds.projects.CmdCreateFile: Add subdirs src/python 2026-06-09 07:45:15 +02:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-235@suse-tumbleweed/x86_64 2026-06-08 23:27:03 +00:00
Makefile $(TOPDIR)/Makefile: include py-topdir.mk 2026-05-31 18:20:35 +02:00
RELEASES Release 1.0.0-235@suse-tumbleweed/x86_64 2026-06-08 23:27:03 +00:00
VERSION Start version: 1.0.0-235 2026-06-08 23:09:36 +00:00