aboutcode-org / aboutcode-org/scancode-toolkit

Ignored dotdirs are included in output file

Aperta
#3,928 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

### 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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.