aboutcode-org / aboutcode-org/scancode-toolkit

Add match details to license detection tests

オープン
#3,283 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

It would help reviewing updated tests results if we were to include the match details in the expected license tests data structure in https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode_test_utils.py

The updated tests should IMHO include:
- the start and end line
- the matcher
- the "diagnostics" matched text
and should not include rule was matched

The approach should be to regenerate all expected tests once with no other change and then use this afterwards.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。