scancode-toolkit icon indicating copy to clipboard operation
scancode-toolkit copied to clipboard

Ignored dotdirs are included in output file

Open fleimgruber opened this issue 1 year ago • 1 comments

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)

fleimgruber avatar Sep 24 '24 13:09 fleimgruber