Skip to content

Commit

Permalink
openpyxl: annotate openpyxl.utils.cell stubs (#7969)
Browse files Browse the repository at this point in the history
  • Loading branch information
XF-FW authored May 27, 2022
1 parent d2728cf commit 2d2b34c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions stubs/openpyxl/openpyxl/utils/cell.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ ABSOLUTE_RE: Any
SHEET_TITLE: str
SHEETRANGE_RE: Any

def get_column_interval(start, end): ...
def coordinate_from_string(coord_string): ...
def absolute_coordinate(coord_string): ...
def get_column_interval(start: str | int, end: str | int) -> list[str]: ...
def coordinate_from_string(coord_string: str) -> tuple[str, int]: ...
def absolute_coordinate(coord_string: str) -> str: ...

col: Any

def get_column_letter(idx): ...
def column_index_from_string(str_col): ...
def range_boundaries(range_string): ...
def get_column_letter(idx: int) -> str: ...
def column_index_from_string(str_col: str) -> int: ...
def range_boundaries(range_string: str) -> tuple[int, int, int, int]: ...
def rows_from_range(range_string) -> Generator[Any, None, None]: ...
def cols_from_range(range_string) -> Generator[Any, None, None]: ...
def coordinate_to_tuple(coordinate): ...
def range_to_tuple(range_string): ...
def quote_sheetname(sheetname): ...
def coordinate_to_tuple(coordinate: str) -> tuple[int, int]: ...
def range_to_tuple(range_string: str) -> tuple[str, tuple[int, int, int, int]]: ...
def quote_sheetname(sheetname: str) -> str: ...

0 comments on commit 2d2b34c

Please sign in to comment.