aboutcode-org / aboutcode-org/scancode-toolkit

Ignored dotdirs are included in output file

未關閉
#3,928 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

### Description

Ignored (using the `--ignore` feature) dotdirs show up in the JSON output file.

### How To Reproduce

```
scancode -v --ignore ".*" --json-lines=scancode.json -l --strip-root .
```

no dotdirs show up in the verbose output (they are still analyzed based on subjective execution time), but they are included in the "scancode.json" file. Same behavior using explicit non-glob patterns, e.g. `--ignore ".venv"`.

### System configuration

* Linux
* scancode-toolkit 32.2.1
* rye (uv)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。