Simple configurable code scanner in Python.
scanCode.py [-h] [-v] [--config CONFIG] root_directory
Scans all source code under specified directory for project compliance using provided configuration.
List of filenames containing the text of valid license (headers). These files SHOULD be in the same directory path where scanCode.py resides.
Filters (path/filename) with wildcards and associated scan checks that are to be run against them. The checks are actual valid function names found in scanCode.py.
These include:
List of paths (inclusive of subdirectories) to exlude from code scanning.
List of regular expressions for forbidden strings, e.g. \w+@company.com
List of additional key-value pair format options.
Currently, the following options are supported: