Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 886 Bytes

config-file-copyright-garbage-yml.md

File metadata and controls

19 lines (15 loc) · 886 Bytes

The copyright-garbage.yml file

The copyright-garbage.yml file allows to define which Copyright statements are to be considered as garbage, like any invalid findings from a scanner. This can be done by literal strings or regular expression patterns. The evaluator and reporter take the file as optional input. See the copyright-garbage.yml example as a base to get started.

Command Line

Either create a file at the default location at $ORT_CONFIG_DIR/copyright-garbage.yml, or pass a custom file via the --copyright-garbage-file option of the evaluator or reporter. For example:

cli/build/install/ort/bin/ort report
  -i [evaluator-output-dir]/evaluation-result.yml
  -o [reporter-output-dir]
  --report-formats PlainTextTemplate,StaticHtml,WebApp
  --copyright-garbage-file $ORT_CONFIG_DIR/copyright-garbage.yml