aboutcode-org / aboutcode-org/scancode-toolkit

License detection issues in python library METADATA

未關閉
#4,431 0 則留言 1 個 reaction 已指派 1 人 已被 @AyanSinhaMahapatra 認領 在 GitHub 檢視
bug improve-license-detection
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

See METADATA file in [METADATA.zip](https://github.com/user-attachments/files/20799221/METADATA.zip)
The file is extracted from [django_altcha-0.2.0-py3-none-any.whl](https://files.pythonhosted.org/packages/b4/c9/9b0e69197012ee9d448eded1e649b9e5ce07aacc9c0239b55739e739d79f/django_altcha-0.2.0-py3-none-any.whl)

1. The `License-Expression: MIT` line is ignored. It should return `mit`
2. The `License-File: LICENSE` line is detected as `unknown-license-reference`. Instead it should be ignored as it's a reference to the LICENSE file.
3. The following is detected as `apache-2.0`, it should be `mit`:
```
This project is licensed under the **MIT License**.
See the [LICENSE](./LICENSE) file for details.
```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。