Compare commits
No commits in common. "a5dc507c659245f59c721c327add54a1148bb9fc" and "56527577877b9ee3bb7a0412ba88d3d3ba42b41a" have entirely different histories.
a5dc507c65
...
5652757787
4 changed files with 6 additions and 15 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
## 0.2.0a31 (2025-10-02)
|
|
||||||
|
|
||||||
### Feat
|
|
||||||
|
|
||||||
- limit warning when asked
|
|
||||||
|
|
||||||
## 0.2.0a30 (2025-10-02)
|
## 0.2.0a30 (2025-10-02)
|
||||||
|
|
||||||
### Feat
|
### Feat
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ requires = ["flit_core >=3.8.0,<4"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "rougail.output_doc"
|
name = "rougail.output_doc"
|
||||||
version = "0.2.0a31"
|
version = "0.2.0a30"
|
||||||
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
description = "Rougail output doc"
|
description = "Rougail output doc"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
__version__ = "0.2.0a31"
|
__version__ = "0.2.0a30"
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ from tiramisu import Calculation, groups
|
||||||
from tiramisu.error import ConfigError, display_list, PropertiesOptionError
|
from tiramisu.error import ConfigError, display_list, PropertiesOptionError
|
||||||
from rougail.tiramisu import display_xmlfiles, normalize_family
|
from rougail.tiramisu import display_xmlfiles, normalize_family
|
||||||
from rougail.utils import undefined, PROPERTY_ATTRIBUTE
|
from rougail.utils import undefined, PROPERTY_ATTRIBUTE
|
||||||
from rougail.error import VariableCalculationDependencyError, RougailWarning
|
from rougail.error import VariableCalculationDependencyError
|
||||||
|
|
||||||
from .config import OutPuts
|
from .config import OutPuts
|
||||||
from .i18n import _
|
from .i18n import _
|
||||||
|
|
@ -415,9 +415,7 @@ class RougailOutputDoc(Examples):
|
||||||
child.path(uncalculated=True),
|
child.path(uncalculated=True),
|
||||||
display_xmlfiles(child.information.get("ymlfiles")),
|
display_xmlfiles(child.information.get("ymlfiles")),
|
||||||
)
|
)
|
||||||
warn(warning,
|
warn(warning)
|
||||||
RougailWarning,
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
informations["description"] = self._convert_description(description, child)
|
informations["description"] = self._convert_description(description, child)
|
||||||
help_ = child.information.get("help", None)
|
help_ = child.information.get("help", None)
|
||||||
|
|
@ -693,9 +691,8 @@ class RougailOutputDoc(Examples):
|
||||||
child.path(),
|
child.path(),
|
||||||
display_xmlfiles(child.information.get("ymlfiles")),
|
display_xmlfiles(child.information.get("ymlfiles")),
|
||||||
)
|
)
|
||||||
warn(warning,
|
# FIXME should be able to desactivate warn with cli
|
||||||
RougailWarning,
|
warn(warning)
|
||||||
)
|
|
||||||
return values
|
return values
|
||||||
|
|
||||||
def _calculation_variable_to_string(self, child, calculation, prop):
|
def _calculation_variable_to_string(self, child, calculation, prop):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue