diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e36a86cf..5f568e19 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,4 +4,4 @@ # the repo (*). Unless a later match takes precedence, # the following will be requested for # review when someone opens a pull request. -* @gisellerosetta +* @shilohd diff --git a/.gitignore b/.gitignore index 2636dbe5..e3999dec 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ gptables/examples/*.xlsx gptables/test/actual_workbook.xlsx .vscode/ site/ -.venv +.venv +*.xlsx diff --git a/README.rst b/README.rst index 42249601..c8d582a4 100644 --- a/README.rst +++ b/README.rst @@ -27,6 +27,8 @@ Requirements ------------ - Python 3.9+ +Using an earlier version? Install `gptables` version before 2.0.0. + Install ------- gptables is available from `PyPI`_. diff --git a/docs/info/changelog.md b/docs/info/changelog.md index de1836bf..f58dab44 100644 --- a/docs/info/changelog.md +++ b/docs/info/changelog.md @@ -10,16 +10,18 @@ and this project tries its very best to adhere to --- -## Unreleased +## Latest * **Date:** - 2025-10-08 + 2025-11-11 **Added** * Merged pull request templates to create new one * Requirements and installation steps to README * Pre-commit hooks +* Code owners file +* More examples **Removed** @@ -32,8 +34,7 @@ and this project tries its very best to adhere to * Updated pull request template * Docs moved from readthedocs to mkdocs * Docs are restructured - -## Released (PyPI) +* Fixed auto column widths ### v1.2.0 diff --git a/gptables/core/gptable.py b/gptables/core/gptable.py index d329d7e5..5caf9fae 100644 --- a/gptables/core/gptable.py +++ b/gptables/core/gptable.py @@ -51,11 +51,11 @@ def __init__( source: Optional[str] = None, units: Optional[Dict[Any, Any]] = None, table_notes: Optional[Dict[Any, Any]] = None, - subtitles: Optional[List[Any]] = None, + subtitles: Optional[List[Any]] = [], instructions: str = "", - legend: Optional[List[Any]] = None, + legend: Optional[List[Any]] = [], index_columns: Optional[Dict[int, int]] = None, - additional_formatting: Optional[List[Dict[str, Any]]] = None, + additional_formatting: Optional[List[Dict[str, Any]]] = [], ) -> None: # Attributes