Skip to content

Commit

Permalink
Fix developer docs on Vulture.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniessink committed Jan 10, 2025
1 parent cc22b0a commit 8d88700
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/src/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,11 @@ ci/quality.sh
src/source_collectors/file_source_collectors/cloc.py:26: unused class 'ClocLOC' (60% confidence)
```

Add `Cloc*` to the `NAMES_TO_IGNORE` in [`components/collector/ci/quality.sh`](https://github.com/ICTU/quality-time/blob/master/components/collector/ci/quality.sh) to suppress Vulture's warning.
Add `ClocLOC` to the `.vulture_ignore_list.py` as follows to suppress Vulture's warning:

```console
uvx vulture --min-confidence 0 --make-whitelist src tests > .vulture_ignore_list.py
```

## Testing

Expand Down

0 comments on commit 8d88700

Please sign in to comment.