Skip to content

Commit 051305b

Browse files
committed
Fix
1 parent ca78975 commit 051305b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pre-commit.yml

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
uses: tj-actions/[email protected]
9292

9393
- name: Run oclint
94+
continue-on-error: true
9495
run: oclint-json-compilation-database -p ~/compile_commands.json oclint_args ${{ steps.changed-files.outputs.all_changed_files }}
9596

9697
- name: Run pre-commit hooks in changed files

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
hooks:
3636
- id: cppcheck
3737
types_or: [c, c++]
38-
args: [--force]
38+
args: [--force, --enable=all, --suppress=missingInclude, --inline-suppr, --inconclusive]
3939
- repo: https://github.com/psf/black-pre-commit-mirror
4040
rev: "22.10.0"
4141
hooks:

0 commit comments

Comments
 (0)