Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 8cc1d9da authored by eckhart's avatar eckhart
Browse files

- small adjustments

parent 39ea46fb
......@@ -105,7 +105,7 @@ def only_errors(messages: Iterable[Error], level: int = Error.ERROR) -> Iterator
return (err for err in messages if err.level >= level)
def linebreaks(text: Union[StringView, str]):
def linebreaks(text: Union[StringView, str]) -> List[int]:
"""
Returns a list of indices all line breaks in the text.
"""
......
......@@ -374,9 +374,8 @@ class Node(collections.abc.Sized):
"""
Adds an error to this Node.
Parameters:
message(str): A string with the error message.abs
level(int): The error level (error or warning)
code(Hashable): An error code to identify the kind of error
message(str): A string with the error message.abs
code(int): An error code to identify the kind of error
"""
self._errors.append(Error(message, code))
self.error_flag = max(self.error_flag, self._errors[-1].code)
......@@ -430,11 +429,11 @@ class Node(collections.abc.Sized):
Args:
tab (str): The indentation string, e.g. '\t' or ' '
openF: (Node->str) A function that returns an opening
open_fn: (Node->str) A function that returns an opening
string (e.g. an XML-tag_name) for a given node
closeF: (Node->str) A function that returns a closeF
close_fn: (Node->str) A function that returns a closeF
string (e.g. an XML-tag_name) for a given node.
dataF: (str->str) A function that filters the data string
data_fn: (str->str) A function that filters the data string
before printing, e.g. to add quotation marks
Returns (str):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment