Skip to content

Commit

Permalink
qf-code_checks: more verbose code style checks (#2484)
Browse files Browse the repository at this point in the history
  • Loading branch information
fenollp authored and lazedo committed Aug 23, 2016
1 parent c087d9a commit 020352b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/code_checks.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
[[ $# -eq 0 ]] && echo "Usage: $0 ‹path to check›+" && exit 0

function check_andalso_orelse {
# Check for andalso/orelse dropped lines
echo 'Check for andalso/orelse dropped lines'
! grep -Ern '[a-zA-Z\)] +(andalso|orelse)' -- $@
}

function check_MODULE {
# Check for uses of module in lieu of ?MODULE
echo 'Check for uses of module in lieu of ?MODULE'
local errors=0
for f in "$@"; do
m0=$(grep -E module'\(' "$f" 2>/dev/null)
Expand Down

0 comments on commit 020352b

Please sign in to comment.