소스 검색

Adding pylint binary call instead of python module

Kenny Woodson 10 년 전
부모
커밋
50acabea18
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      git/pylint.sh

+ 1 - 1
git/pylint.sh

@@ -7,6 +7,6 @@ TRG_BRANCH=$3
 
 /usr/bin/git diff --name-only $OLDREV $NEWREV --diff-filter=ACM | \
  grep ".py$" | \
- xargs -r -I{} /usr/bin/python -m pylint --rcfile ${WORKSPACE}/git/.pylintrc  {}
+ xargs -r -I{} pylint --rcfile ${WORKSPACE}/git/.pylintrc  {}
 
 exit $?