Skip to content

Commit 3feeba0

Browse files
committed
Update tox.ini with ScanCode test configuration
1 parent a6fc02b commit 3feeba0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ filterwarnings = ignore::DeprecationWarning
2323
[testenv:test_run]
2424
deps =
2525
-r{toxinidir}/requirements-dev.txt
26+
scancode-toolkit # ScanCode를 test_run 환경에 추가
2627

2728
commands =
2829
rm -rf test_scan
2930
fosslight_source -p tests/test_files -j -m -o test_scan
3031
fosslight_source -p tests -e test_files/test cli_test.py -j -m -o test_scan2
32+
scancode -l --json-pp results.json tests/test_files # ScanCode 실행
33+
python check_license_count.py results.json 3 # License 카운트 체크
3134

3235
[testenv:release]
3336
deps =
@@ -50,4 +53,4 @@ commands =
5053

5154
[testenv:flake8]
5255
deps = flake8
53-
commands = flake8
56+
commands = flake8 # Flake8 검사 실행

0 commit comments

Comments
 (0)