Skip to content

Commit 14ff8ec

Browse files
committed
fix
1 parent 42367e2 commit 14ff8ec

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/lint-source.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,11 @@ jobs:
3030

3131
- name: Lint the full source
3232
run: |
33+
shopt -s expand_aliases
3334
alias lintsource='find ./src -type f -not -name '*nvtx*' -exec command fortitude check {} \;' |
3435
lintsource |
3536
lintsource | wc -l | xargs -I{} sh -c '[ {} -gt 0 ] && exit 1 || exit 0'
3637
37-
- name: Ensure kind is specified
38-
run: fortitude check --file-extensions=f90,fpp,fypp --select=P001 ./src/**
39-
40-
- name: Ensure subroutines are named
41-
run: fortitude check --file-extensions=f90,fpp,fypp --select=S061 ./src/**
42-
4338
- name: No double precision intrinsics
4439
run: |
4540
! grep -iR 'double_precision\|dsqrt\|dexp\|dlog\|dble\|dabs\|double\ precision\|real(8)\|real(4)\|dprod\|dmin\|dmax\|dfloat\|dreal\|dcos\|dsin\|dtan\|dsign\|dtanh\|dsinh\|dcosh\|d0' --exclude-dir=syscheck --exclude="*nvtx*" --exclude="*precision_select*" ./src/*

0 commit comments

Comments
 (0)