aboutcode-org / aboutcode-org/scancode-toolkit

How to ignore specific directorys during scan

Open
#2,966 5 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

Hi all,

currently i'm playing around with scancode to get familiar with it. Since we have a few submodules for test purposes in our repositories id like to know if it is possible to say scancode to ignore specific directories. At the moment i only found the solution with the ignore/include pattern. But its quite exhausting to filter all file endings and most of the time the same endings are reused in a different subfolder which should be scanned.

Maybe I didn't find it in the documentation either. I do not know. But is there a way to ignore e.g. the googletest folder in the repository by parameter?

Thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.