Compare commits

..

No commits in common. "66f044bee3246e1059e267a4efebce8ec517b79f" and "4e9e8b082ef6755b8f465c398e6db5043b0208b2" have entirely different histories.

55 changed files with 74 additions and 90 deletions

View file

@ -1,9 +1,3 @@
## 0.1.0a5 (2025-03-27)
### Fix
- if and for in 3 lines
## 0.1.0a4 (2025-03-27)
### Feat

View file

@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
[project]
name = "rougail.output_formatter"
version = "0.1.0a5"
version = "0.1.0a4"
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md"
description = "Rougail output formatter"

View file

@ -78,8 +78,6 @@ class RougailOutputFormatter:
self.config = Config()
self.config.profile = 'jinja'
self.config.line_break_after_multiline_tag = True
self.config.indent = " "
self.original_yaml = RougailUpgrade(rougailconfig).run(filename)
datas = RougailUpgrade(rougailconfig).run(filename)

View file

@ -5,7 +5,7 @@ variable:
description: a variable
default:
jinja: >-
{{ test_information }}
{{test_information }}
description: get information test_information
params:
test_information:

View file

@ -8,11 +8,7 @@ int1:
type: number
default:
jinja: >-
{% if rougail.bool %}
1
{% else %}
2
{% endif %}
{% if rougail.bool %}1{% else %}2{% endif %}
description: if bool returns 1 otherwise return 2
int2:
@ -20,9 +16,5 @@ int2:
type: number
default:
jinja: >-
{% if not rougail.bool %}
3
{% else %}
4
{% endif %}
{% if not rougail.bool %}3{% else %}4{% endif %}
description: if bool returns 3 otherwise return 4