Skip to content

Commit 3b9e1b7

Browse files
doc: fix incorrect rst lists
Signed-off-by: Stephan Lachnit <[email protected]>
1 parent 5f4febb commit 3b9e1b7

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

src/license_expression/__init__.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,23 +141,24 @@ class ExpressionInfo:
141141
Licensing.validate().
142142
143143
The ExpressionInfo class has the following fields:
144+
144145
- original_expression: str.
145-
- This is the license expression that was originally passed into
146-
Licensing.validate()
146+
- This is the license expression that was originally passed into
147+
Licensing.validate()
147148
148149
- normalized_expression: str.
149-
- If a valid license expression has been passed into `validate()`,
150-
then the license expression string will be set in this field.
150+
- If a valid license expression has been passed into `validate()`,
151+
then the license expression string will be set in this field.
151152
152153
- errors: list
153-
- If there were errors validating a license expression,
154-
the error messages will be appended here.
154+
- If there were errors validating a license expression,
155+
the error messages will be appended here.
155156
156157
- invalid_symbols: list
157-
- If the license expression that has been passed into `validate()` has
158-
license keys that are invalid (either that they are unknown or not used
159-
in the right context), or the syntax is incorrect because an invalid
160-
symbol was used, then those symbols will be appended here.
158+
- If the license expression that has been passed into `validate()` has
159+
license keys that are invalid (either that they are unknown or not used
160+
in the right context), or the syntax is incorrect because an invalid
161+
symbol was used, then those symbols will be appended here.
161162
"""
162163

163164
def __init__(
@@ -1652,6 +1653,7 @@ def validate_symbols(symbols, validate_keys=False):
16521653
there were no warnings).
16531654
- `errors` is a list of validation error messages (possibly empty if there
16541655
were no errors).
1656+
16551657
Keys and aliases are cleaned and validated for uniqueness.
16561658
16571659
If ``validate_keys`` also validate that license keys are known keys.

0 commit comments

Comments
 (0)