-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Description
pyright is in scripts/pyright, but it's not elsewhere. It should be in requirements-dev.txt, yes? But it doesn't seem to be in pypi?
And while looking at the pyright script, I notice that it's a bash script that uses which. Better to use the bash-builtin of type -p pyright
find . -type f | egrep -v '.git|ve/|mypy' | xargs grep pyright | egrep -i -v 'copyright'
grep: ./docs/_build/doctrees/environment.pickle: binary file matches
./scripts/pyright:PATH_TO_PYRIGHT=`which pyright`
./scripts/pyright:# If we can't find pyright, install it.
./scripts/pyright:echo "Checking pyright exists..."
./scripts/pyright: echo "...installing pyright"
./scripts/pyright: ${SUDO} npm install -g pyright
./scripts/pyright: echo "Checking pyright version..."
./scripts/pyright: CURRENT=`pyright --version | cut -d' ' -f2`
./scripts/pyright: REMOTE=`npm info pyright version`
./scripts/pyright: echo "...new version of pyright found, upgrading."
./scripts/pyright: ${SUDO} npm upgrade -g pyright
./scripts/pyright:pyright "$@"
./scripts/test: scripts/pyright pystac tests
Metadata
Metadata
Assignees
Labels
No labels