aboutsummaryrefslogtreecommitdiff
path: root/scripts/laminar/gn3-mypy.sh
blob: 6d04c3599f4fcb4b1087cc2830ef0de9d3edfa0a (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e  # Abort on first error
CUR_DIR=$PWD
GN3_CI_DIR=$HOME/CI/genenetwork3/

cd "${GN3_CI_DIR}"
git pull

# Run Pylint
env GUIX_PACKAGE_PATH="$HOME/guix-bioinformatics:$HOME/guix-past/modules" \
    guix environment --load=guix.scm -- mypy .

echo Done Running MyPy!
cd "${CUR_DIR}"