Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
[gem][pylint] do not run pyling if nothing to lint. (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk authored Jan 30, 2017
1 parent 641fd7f commit 4b962bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/ci/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
check_env
sh %(flake8 #{ENV['SDK_HOME']})
sh %(find #{ENV['SDK_HOME']} -name '*.py' -not\
\\( -path '*.cache*' -or -path '*embedded*' -or -path '*dd-agent*' -or -path '*venv*' -or -path '*.git*' -or -path '*vendor*'\\)\
| xargs -n 80 -P 8 pylint --rcfile=#{ENV['SDK_HOME']}/.pylintrc)
\\( -path '*.cache*' -or -path '*embedded*' -or -path '*dd-agent*' -or -path '*venv*' -or -path '*.git*' -or -path '*vendor*' \\)\
| xargs -r -n 80 -P 8 pylint --rcfile=#{ENV['SDK_HOME']}/.pylintrc)
end
end

Expand Down

0 comments on commit 4b962bf

Please sign in to comment.