Skip to content

Commit

Permalink
add script to run pylint
Browse files Browse the repository at this point in the history
Change-Id: I023ac8b08c4303dc1fae334a0022865cc3fcf5d6
(cherry picked from commit 1d7369148521d4aac766e292f7068b01f382a5bd)
  • Loading branch information
mjcharne authored and markcharney committed Aug 9, 2019
1 parent 70fc7d5 commit 821da53
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/run-pylint-scan
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/csh -f
foreach i (*.py)
echo $i
pylint -d trailing-newlines,unused-wildcard-import,bad-indentation,too-many-lines,bad-whitespace,trailing-whitespace,invalid-name,bad-continuation,missing-docstring,too-many-branches,too-many-locals,too-few-public-methods $i >! $i.pylint
end

echo ""
echo ""
echo ""
wc -l *pylint | sort -n
echo ""
echo ""
echo ""
cat *pylint | grep -E '^[A-Z]:' | sed 's/.*(/(/' | sus

0 comments on commit 821da53

Please sign in to comment.