text (1)
indented¶
indented(text: str, indentation: str = ' ') -> bool
Check whether all lines of given text are indented.
DocStrings
Parameters:
Name | Type | Description | Default |
---|---|---|---|
text
|
str
|
The text to check |
required |
indentation
|
str
|
The indent each line must start with |
' '
|
Source code in src/jinjarope/envtests.py
200 201 202 203 204 205 206 207 |
|