load_unexist_redefine:
redefine: true
type: boolean
default:
jinja: >-
{{ step.output is not propertyerror and step.output == 'formatter' }}
description: true if formatter is not in "step.output"
hidden:
jinja: >-
{{ step.output is not propertyerror and step.output == 'formatter' }}
return_type: boolean
description: if formatter is not in "step.output"
cli:
load_config:
exists: true
redefine: true
type: boolean
default:
jinja: >-
{{ step.output is propertyerror or step.output != 'formatter' }}
description: true if formatter is not in "step.output"
formatter:
description: Reformat the structure files
help: |-
The structure file will be formatted according to a set of rules: empty line between each variable, condensed notation whenever possible, attribute order, re-indentation (especially for Jinja2 templates), ...
disabled:
jinja: >-
{{ step.output is propertyerror or step.output != 'formatter' }}
return_type: boolean
description: if formatter is not set in "step.output"
line_width: 120 # Maximum line size
load_unexist_redefine:
redefine: true
type: boolean
default:
jinja: >-
{{ step.output is not propertyerror and step.output == 'formatter' }}
description: true if formatter is not in "step.output"
hidden:
jinja: >-
{{ step.output is not propertyerror and step.output == 'formatter' }}
return_type: boolean
description: if formatter is not in "step.output"
cli:
load_config:
exists: true
redefine: true
type: boolean
default:
jinja: >-
{{ step.output is propertyerror or step.output != 'formatter' }}
description: true if formatter is not in "step.output"
formatter:
description: Reformat the structure files
help: |-
The structure file will be formatted according to a set of rules: empty line between each variable, condensed notation whenever possible, attribute order, re-indentation (especially for Jinja2 templates), ...
disabled:
jinja: >-
{{ step.output is propertyerror or step.output != 'formatter' }}
return_type: boolean
description: if formatter is not set in "step.output"
line_width: 120 # Maximum line size
load_unexist_redefine:
redefine: true
type: boolean
default:
jinja: >-
{{ step.output is not propertyerror and step.output == 'formatter' }}
description: true if formatter is not in "step.output"
hidden:
jinja: >-
{{ step.output is not propertyerror and step.output == 'formatter' }}
return_type: boolean
description: if formatter is not in "step.output"
cli:
load_config:
exists: true
redefine: true
type: boolean
default:
jinja: >-
{{ step.output is propertyerror or step.output != 'formatter' }}
description: true if formatter is not in "step.output"
formatter:
description: Reformat the structure files
help: |-
The structure file will be formatted according to a set of rules: empty line between each variable, condensed notation whenever possible, attribute order, re-indentation (especially for Jinja2 templates), ...
disabled:
jinja: >-
{{ step.output is propertyerror or step.output != 'formatter' }}
return_type: boolean
description: if formatter is not set in "step.output"
line_width: 120 # Maximum line size
---
gitea: none
include_toc: true
---
[🇬🇧 (EN)](README.md) - [🇫🇷 (FR)](README.fr.md)
## Reformat the structure files
> [!NOTE]
>
> The structure file will be formatted according to a set of rules: empty line between each variable, condensed notation whenever possible, attribute order, re-indentation (especially for Jinja2 templates), ...\
> **Path**: formatter\
> *`disabled`*\
> **Disabled**: if formatter is not set in "[Select for output](#step.output)"
| Variable | Description | Default value | Type |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|-----------------|-------------------------------------------------------------------------------------------------|
| **formatter.line_width**
**Command line**:
--formatter.line_width
**Environment variable**: FORMATTER.LINE_WIDTH | Maximum line size. | 120 | [`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` |