# Copyright: (c) 2020, Jordan Borean (@jborean93) <jborean93@gmail.com>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
license_expressions:
- mit
---
license_expression: mit
is_license_notice: yes
relevance: 100
referenced_filenames:
- LICENSE
ignorable_urls:
- https://opensource.org/licenses/MIT
---
{{MIT License (see LICENSE or https://opensource.org/licenses/MIT) }}
---
license_expression: mit
is_license_notice: yes
relevance: 100
referenced_filenames:
- LICENSE
---
{{MIT License (see LICENSE) }}
And a few variations that can bee seen in the wild if we do not detect these exactly:
Following up from comments posted in @alok1304 's #4121 (comment)_
You can improve this further this way:
The test for #3860 and #3861 would be the same with this text (like for https://github.com/aboutcode-org/scancode-toolkit/blob/develop/tests/licensedcode/data/datadriven/lic4/2675-sqlite.cpp )
And expected YAML file, (like for https://github.com/aboutcode-org/scancode-toolkit/blob/develop/tests/licensedcode/data/datadriven/lic4/2675-sqlite.cpp.yml )
And another:
And a few variations that can bee seen in the wild if we do not detect these exactly:
MIT License (see LICENSE.md)distributed under MIT license (see LICENSE.md).https://github.com/modeladonicho/Maxent/blob/a500e9108e7edeeea8558cd8ed43e622bedc410d/license-summary.txt#L1And all the variations where there is a LICENSE.txt:
And a few rst:
And more variants: