Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@ File extensions to collect. Default: `.c .cpp`.
cppcheck_extensions = .c .cpp .h
```

## Markers

All cppcheck items are marked with `cppcheck`, so you can select or exclude
them with `-m`:

```
pytest --cppcheck -m cppcheck # only cppcheck
pytest --cppcheck -m "unit or cppcheck" # unit tests + cppcheck
pytest --cppcheck -m "not cppcheck" # everything except cppcheck
```

## Caching

Results are cached based on file modification time and `cppcheck_args`. On
Expand Down
Loading