Skip to content

Commit 9220b6e

Browse files
committed
scancode: add assumptions
1 parent ddb5a29 commit 9220b6e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/test/travis-ci/scancode.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
limitations
1717
"""
1818

19+
# Asumptions for this script:
20+
# 1. directory_name is scanned directory.
21+
# Files are copied to this directory with full tree. As result, if we find
22+
# license offender, we can have full path (just scrape directory_name). We do this
23+
# magic because scancode allows to scan directories/one file.
24+
# 2. SPDX and license text is a must for all code files
25+
1926
import json
2027
import argparse
2128
import sys

0 commit comments

Comments
 (0)