Skip to content

Commit

Permalink
Exclude symlinks in Python package when linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Apr 23, 2019
1 parent 9f3ef5e commit bd1f9d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ rcpplint:
python3 dmlc-core/scripts/lint.py xgboost ${LINT_LANG} R-package/src

lint: rcpplint
python3 dmlc-core/scripts/lint.py --pylint-rc ${PWD}/python-package/.pylintrc xgboost ${LINT_LANG} include src plugin python-package
python3 dmlc-core/scripts/lint.py --exclude_path python-package/xgboost/dmlc-core \
python-package/xgboost/include python-package/xgboost/lib \
python-package/xgboost/make python-package/xgboost/rabit \
python-package/xgboost/src --pylint-rc ${PWD}/python-package/.pylintrc xgboost \
${LINT_LANG} include src plugin python-package

pylint:
flake8 --ignore E501 python-package
Expand Down

0 comments on commit bd1f9d1

Please sign in to comment.