From 710319c850276df494b967f23584ac0e3c9583de Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Thu, 3 Apr 2025 17:40:19 -0400 Subject: [PATCH] fix lint --- .fortitude.toml | 1 - .github/workflows/lint-source.yml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.fortitude.toml b/.fortitude.toml index 943d4f3cfb..0ecff99db8 100644 --- a/.fortitude.toml +++ b/.fortitude.toml @@ -1,5 +1,4 @@ [check] -# Ignored Rules and justification: ignore = ["E001","S001","S101","C121","S091","MOD011","C001","S101","S102","C002","PORT011","C072","C003","C131","C141","C092"] file-extensions = ["f90","fpp","fypp"] output-format = "pylint" diff --git a/.github/workflows/lint-source.yml b/.github/workflows/lint-source.yml index cc6757697a..f9f88228e7 100644 --- a/.github/workflows/lint-source.yml +++ b/.github/workflows/lint-source.yml @@ -31,8 +31,8 @@ jobs: - name: Lint the full source run: | source build/venv/bin/activate - find ./src -type f -not -name '*nvtx*' -exec fortitude check {} \; - find ./src -type f -not -name '*nvtx*' -exec fortitude check {} \; | wc -l | xargs -I{} sh -c '[ {} -gt 0 ] && exit 1 || exit 0' + find ./src -type f -not -name '*nvtx*' -exec sh -c 'fortitude check "$1" | grep -v E001' _ {} \; + 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' - name: No double precision intrinsics run: |