Skip to content

Commit

Permalink
fix: pre-commit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhi committed Feb 24, 2025
1 parent 32045d1 commit f1a8e49
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
blank_issues_enabled: True
blank_issues_enabled: True
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [...]
-->
-->
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Before creating a new feature request please search the issues for relevant feat
<!-- Add any other context or screenshots about the feature request here. You can also include links to examples of other programs that have something similar to your request. For example:
* Another project [...] solved this by [...]
-->
-->
5 changes: 4 additions & 1 deletion icechunk-python/python/icechunk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__}")
Expand All @@ -153,4 +155,5 @@ def print_debug_info()->None:
except ModuleNotFoundError:
continue


initialize_logs()
2 changes: 1 addition & 1 deletion icechunk-python/tests/test_debuginfo.py
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit f1a8e49

Please sign in to comment.