Run the linters and precommits for sgkit
190
You can use this image to run all the precommit steps for sgkit.
Volume mounts assume you are in the sgkit project repo.
git clone [email protected]:pystatgen/sgkit.git
cd sgkit
# and then run the rest of the commands
# Create a volume for precommit
docker volume create sgkit-precommit-cache
# Run this to test, lint, and run precommit hooks
docker run -it -v sgkit-precommit-cache:/root/.cache -v $(pwd):/project/sgkit jerowe/sgkit-dev:latest
# Run this to commit
docker run -it -v $(pwd):/project/sgkit jerowe/sgkit-dev:latest bash -c 'cd /project/sgkit; git commit -m "My commit msg"'
Content type
Image
Digest
Size
641.2 MB
Last updated
about 6 years ago
docker pull jerowe/sgkit-dev