Skip to content
Snippets Groups Projects
Commit 0519fc38 authored by I. Nüske's avatar I. Nüske
Browse files

STY: style fix

parent a6910d39
No related branches found
No related tags found
2 merge requests!128MNT: Added a warning when column metadata is not configured, and a better...,!120XLSX-Konverter: Bessere Fehlermeldung bei inkorrektem Typ in Spalte, zusätzlicher Spalte
Pipeline #57502 passed
......@@ -45,6 +45,7 @@ def _strict_bool(value: Any) -> bool:
return value
raise TypeError(f"Not a good boolean: {repr(value)}")
def _column_id_to_chars(num):
"""Converts a column id (zero based) to the corresponding string
representation, e.g. 0 -> 'A', 97 -> 'CT'"""
......@@ -52,6 +53,7 @@ def _column_id_to_chars(num):
return ""
return _column_id_to_chars(int(num / 26) - 1) + chr(int(num % 26) + 65)
def _format_exception_table(exceptions: list(tuple), worksheet_title: str,
column_names: Optional[dict, list] = None,
max_line_length: Optional[int] = 120) -> str:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment