-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: fix some
mypy
errors and switch to ruff (#511)
* Update `_body.py` * Remove unused function signatures. * Update `_export.py` * Update `_stub.py` * Remove unused import modules. * Update `_locations.py` * Update `_modify_rows.py` * Update `_tbl_data.py` * Update `_utils_render_html.py` * Update `gt.py` * Update `_utils_render_latex.py` * Update `_styles.py` * Clarify that `sides` in `CellStyleBorders` does not support `ColumnExpr`. * Update `_spanners.py` * Update `_utils_nanoplots.py` * Move `_flatten_list()` to `_utils.py` * Update `_utils.py` * Use `_flatten_list()` to deduplicate formatted cells in `_migrate_unformatted_to_output()`. * Update `_formats.py` * Update `_gt_data.py` * Refactor `ColumnAlignment` to a `TypeAlias` as the `Enum` definition is unused in the code. * Propose preserving the signatures of `__new__()` and `__init__()` in `Boxhead`. * dev: switch to ruff * dev: configure ruff for pyproject.toml and vscode * chore: format with ruff, mostly removing newlines after block start * dev: do not format ipynbs, format unused imports * chore: run ruff formatter * chore: run ruff formatter --------- Co-authored-by: Michael Chow <[email protected]>
- Loading branch information
Showing
38 changed files
with
170 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.