Skip to content

Commit d9c22fd

Browse files
committed
Format code
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent ce85af5 commit d9c22fd

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

src/licensedcode/models.py

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -218,18 +218,21 @@ class License:
218218
metadata=dict(
219219
help='Text URL for this license')
220220
)
221+
221222
osi_url = attr.ib(
222223
default=None,
223224
repr=False,
224225
metadata=dict(
225226
help='OpenSource.org URL for this license')
226227
)
228+
227229
faq_url = attr.ib(
228230
default=None,
229231
repr=False,
230232
metadata=dict(
231233
help='Frequently Asked Questions page URL for this license')
232234
)
235+
233236
other_urls = attr.ib(
234237
default=attr.Factory(list),
235238
repr=False,
@@ -245,19 +248,19 @@ class License:
245248
)
246249

247250
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.')
261264
)
262265

263266
standard_notice = attr.ib(

0 commit comments

Comments
 (0)