This PR installs the pyright Python type checker in the development Docker image. This is required for rucio/rucio#5750.
The tool is installed by first installing npm and nodejs, then using npm to install pyright, and then uninstalling npm (while leaving nodejs installed which is required for running pyright). If desired, npm can be left behind, but it is currently not used for anything else, so would just increase the size of the final image.
This PR installs the
pyright
Python type checker in the development Docker image. This is required for rucio/rucio#5750.The tool is installed by first installing
npm
andnodejs
, then usingnpm
to installpyright
, and then uninstallingnpm
(while leavingnodejs
installed which is required for runningpyright
). If desired,npm
can be left behind, but it is currently not used for anything else, so would just increase the size of the final image.