Skip to content

Commit b4c9096

Browse files
authored
fix lint (#817)
1 parent 314c05a commit b4c9096

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.fortitude.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[check]
2-
# Ignored Rules and justification:
32
ignore = ["E001","S001","S101","C121","S091","MOD011","C001","S101","S102","C002","PORT011","C072","C003","C131","C141","C092"]
43
file-extensions = ["f90","fpp","fypp"]
54
output-format = "pylint"

.github/workflows/lint-source.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- name: Lint the full source
3232
run: |
3333
source build/venv/bin/activate
34-
find ./src -type f -not -name '*nvtx*' -exec fortitude check {} \;
35-
find ./src -type f -not -name '*nvtx*' -exec fortitude check {} \; | wc -l | xargs -I{} sh -c '[ {} -gt 0 ] && exit 1 || exit 0'
34+
find ./src -type f -not -name '*nvtx*' -exec sh -c 'fortitude check "$1" | grep -v E001' _ {} \;
35+
find ./src -type f -not -name '*nvtx*' -exec sh -c 'fortitude check "$1" | grep -v E001' _ {} \; | wc -l | xargs -I{} sh -c '[ {} -gt 0 ] && exit 1 || exit 0'
3636
3737
- name: No double precision intrinsics
3838
run: |

0 commit comments

Comments
 (0)