@@ -23,9 +23,9 @@ def get_parameter_infos(config_hpp: Path) -> Tuple[List[Tuple[str, int]], List[L
2323
2424 Returns
2525 -------
26- infos : tuple
26+ tuple
2727 Tuple with names and content of sections.
28- """
28+ """ # noqa: DOC105
2929 is_inparameter = False
3030 cur_key = None
3131 key_lvl = 0
@@ -96,9 +96,9 @@ def get_names(infos: List[List[Dict[str, List]]]) -> List[str]:
9696
9797 Returns
9898 -------
99- names : list
99+ list
100100 Names of all parameters.
101- """
101+ """ # noqa: DOC105
102102 names = []
103103 for x in infos :
104104 for y in x :
@@ -116,9 +116,9 @@ def get_alias(infos: List[List[Dict[str, List]]]) -> List[Tuple[str, str]]:
116116
117117 Returns
118118 -------
119- pairs : list
119+ list
120120 List of tuples (param alias, param name).
121- """
121+ """ # noqa: DOC105
122122 pairs = []
123123 for x in infos :
124124 for y in x :
@@ -142,9 +142,9 @@ def parse_check(check: str, reverse: bool = False) -> Tuple[str, str]:
142142
143143 Returns
144144 -------
145- pair : tuple
145+ tuple
146146 Parsed constraint in the form of tuple (value, sign).
147- """
147+ """ # noqa: DOC105
148148 try :
149149 idx = 1
150150 float (check [idx :])
@@ -172,9 +172,9 @@ def set_one_var_from_string(name: str, param_type: str, checks: List[str]) -> st
172172
173173 Returns
174174 -------
175- ret : str
175+ str
176176 Lines of auto config file with getting and checks of one parameter value.
177- """
177+ """ # noqa: DOC105
178178 ret = ""
179179 univar_mapper = {"int" : "GetInt" , "double" : "GetDouble" , "bool" : "GetBool" , "std::string" : "GetString" }
180180 if "vector" not in param_type :
@@ -209,7 +209,7 @@ def gen_parameter_description(
209209 Structured descriptions of parameters.
210210 params_rst : pathlib.Path
211211 Path to the file with parameters documentation.
212- """
212+ """ # noqa: DOC105
213213 params_to_write = []
214214 lvl_mapper = {1 : "-" , 2 : "~" }
215215 for (section_name , section_lvl ), section_params in zip (sections , descriptions , strict = True ):
@@ -274,9 +274,9 @@ def gen_parameter_code(
274274
275275 Returns
276276 -------
277- infos : tuple
277+ tuple
278278 Tuple with names and content of sections.
279- """
279+ """ # noqa: DOC105
280280 keys , infos = get_parameter_infos (config_hpp )
281281 names = get_names (infos )
282282 alias = get_alias (infos )
0 commit comments