diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 9a30190c..3eece15e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1 +1 @@ -blank_issues_enabled: True \ No newline at end of file +blank_issues_enabled: True diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md index f7d763f0..12aac94d 100644 --- a/.github/ISSUE_TEMPLATE/documentation.md +++ b/.github/ISSUE_TEMPLATE/documentation.md @@ -26,4 +26,4 @@ If you have an idea to improve the documentation please suggest it here * This line should be be changed to say [...] * Include a paragraph explaining [...] * Add a figure showing [...] ---> \ No newline at end of file +--> diff --git a/.github/ISSUE_TEMPLATE/enhancement.md b/.github/ISSUE_TEMPLATE/enhancement.md index c43947d1..2446cfca 100644 --- a/.github/ISSUE_TEMPLATE/enhancement.md +++ b/.github/ISSUE_TEMPLATE/enhancement.md @@ -32,4 +32,4 @@ Before creating a new feature request please search the issues for relevant feat \ No newline at end of file +--> diff --git a/icechunk-python/python/icechunk/__init__.py b/icechunk-python/python/icechunk/__init__.py index 94889730..44aefcfa 100644 --- a/icechunk-python/python/icechunk/__init__.py +++ b/icechunk-python/python/icechunk/__init__.py @@ -141,9 +141,11 @@ "tigris_storage", ] -def print_debug_info()->None: + +def print_debug_info() -> None: import platform from importlib import import_module + print(f"platform: {platform.platform()}") print(f"python: {platform.python_version()}") print(f"icechunk: {__version__}") @@ -153,4 +155,5 @@ def print_debug_info()->None: except ModuleNotFoundError: continue + initialize_logs() diff --git a/icechunk-python/tests/test_debuginfo.py b/icechunk-python/tests/test_debuginfo.py index 812fd07a..3eb13aac 100644 --- a/icechunk-python/tests/test_debuginfo.py +++ b/icechunk-python/tests/test_debuginfo.py @@ -1,6 +1,6 @@ from icechunk import print_debug_info -def test_debug_info()->None: +def test_debug_info() -> None: # simple test that this does not cause an error. print_debug_info()