Skip to content
Permalink
Browse files

Run pre-commit on Python CI scripts (#1542)

  • Loading branch information
terrytangyuan committed Dec 2, 2019
1 parent 13654d6 commit 182f612ca7c81fd8e1da24dbeab6a3feed321c36
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
@@ -27,7 +27,7 @@ jobs:
name: "Pre-commit Check"
script:
- docker build -t elasticdl:dev -f elasticdl/docker/Dockerfile.dev .
- docker run --rm -it -v $PWD:/work -w /work elasticdl:dev bash -c "pre-commit run --files $(find elasticdl/python model_zoo setup.py -name '*.py' -print0 | tr '\0' ' ')"
- docker run --rm -it -v $PWD:/work -w /work elasticdl:dev bash -c "pre-commit run --files $(find elasticdl/python model_zoo setup.py scripts/ -name '*.py' -print0 | tr '\0' ' ')"
- stage: tests
name: "Tests"
script:

0 comments on commit 182f612

Please sign in to comment.
You can’t perform that action at this time.