@@ -218,18 +218,21 @@ class License:
218
218
metadata = dict (
219
219
help = 'Text URL for this license' )
220
220
)
221
+
221
222
osi_url = attr .ib (
222
223
default = None ,
223
224
repr = False ,
224
225
metadata = dict (
225
226
help = 'OpenSource.org URL for this license' )
226
227
)
228
+
227
229
faq_url = attr .ib (
228
230
default = None ,
229
231
repr = False ,
230
232
metadata = dict (
231
233
help = 'Frequently Asked Questions page URL for this license' )
232
234
)
235
+
233
236
other_urls = attr .ib (
234
237
default = attr .Factory (list ),
235
238
repr = False ,
@@ -245,19 +248,19 @@ class License:
245
248
)
246
249
247
250
minimum_coverage = attr .ib (
248
- default = 0 ,
249
- repr = False ,
250
- metadata = dict (
251
- help = 'Can this license text be matched only with a minimum coverage e.g., '
252
- 'when a minimum proportion of tokens have been matched? This is as a '
253
- 'float between 0 and 100 where 100 means that all tokens must be '
254
- 'matched and a smaller value means a smaller proportion of matched '
255
- 'tokens is acceptable. This is mormally computed at indexing time based on '
256
- 'the length of a license. Providing a stored value in the license data '
257
- 'file overrides this default computed value. For example, a short '
258
- 'license notice such as "MIT license" must be matched with all its words, '
259
- 'e.g., a 100 minimum_coverage. Otherwise matching only "mit" or '
260
- '"license" is not a strong enough licensing clue.' )
251
+ default = 0 ,
252
+ repr = False ,
253
+ metadata = dict (
254
+ help = 'Can this license text be matched only with a minimum coverage e.g., '
255
+ 'when a minimum proportion of tokens have been matched? This is as a '
256
+ 'float between 0 and 100 where 100 means that all tokens must be '
257
+ 'matched and a smaller value means a smaller proportion of matched '
258
+ 'tokens is acceptable. This is mormally computed at indexing time based on '
259
+ 'the length of a license. Providing a stored value in the license data '
260
+ 'file overrides this default computed value. For example, a short '
261
+ 'license notice such as "MIT license" must be matched with all its words, '
262
+ 'e.g., a 100 minimum_coverage. Otherwise matching only "mit" or '
263
+ '"license" is not a strong enough licensing clue.' )
261
264
)
262
265
263
266
standard_notice = attr .ib (
0 commit comments