You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hamilton.apache.org by sk...@apache.org on 2026/01/24 21:31:11 UTC
(hamilton) 03/03: Linting
This is an automated email from the ASF dual-hosted git repository.
skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hamilton.git
commit de50378fd2ef3135697432c9d7167ee236825c0a
Author: Josh Markovic <jo...@gmail.com>
AuthorDate: Sat Jan 24 16:06:02 2026 -0500
Linting
---
tests/conftest.py | 40 +++++++++++++++++----------------
tests/plugins/test_pandas_extensions.py | 4 +---
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/tests/conftest.py b/tests/conftest.py
index f3549b9a..0adbe615 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -25,22 +25,24 @@ telemetry.disable_telemetry()
# Skip tests that require packages not yet available on Python 3.14
collect_ignore = []
if sys.version_info >= (3, 14):
- collect_ignore.extend([
- # polars - no Python 3.14 support yet
- "plugins/test_polars_extensions.py",
- "plugins/test_polars_lazyframe_extensions.py",
- "resources/narwhals_example.py",
- # plotly - no Python 3.14 support yet
- "plugins/test_plotly_extensions.py",
- # xgboost - no Python 3.14 support yet
- "plugins/test_xgboost_extensions.py",
- # lightgbm - no Python 3.14 support yet
- "plugins/test_lightgbm_extensions.py",
- # mlflow - no Python 3.14 support yet
- "plugins/test_mlflow_extension.py",
- # kedro - no Python 3.14 support yet
- "plugins/test_h_kedro.py",
- "plugins/test_kedro_extensions.py",
- # lancedb - no Python 3.14 support yet
- "plugins/test_huggingface_extensions.py",
- ])
+ collect_ignore.extend(
+ [
+ # polars - no Python 3.14 support yet
+ "plugins/test_polars_extensions.py",
+ "plugins/test_polars_lazyframe_extensions.py",
+ "resources/narwhals_example.py",
+ # plotly - no Python 3.14 support yet
+ "plugins/test_plotly_extensions.py",
+ # xgboost - no Python 3.14 support yet
+ "plugins/test_xgboost_extensions.py",
+ # lightgbm - no Python 3.14 support yet
+ "plugins/test_lightgbm_extensions.py",
+ # mlflow - no Python 3.14 support yet
+ "plugins/test_mlflow_extension.py",
+ # kedro - no Python 3.14 support yet
+ "plugins/test_h_kedro.py",
+ "plugins/test_kedro_extensions.py",
+ # lancedb - no Python 3.14 support yet
+ "plugins/test_huggingface_extensions.py",
+ ]
+ )
diff --git a/tests/plugins/test_pandas_extensions.py b/tests/plugins/test_pandas_extensions.py
index 51fb1943..479b09a0 100644
--- a/tests/plugins/test_pandas_extensions.py
+++ b/tests/plugins/test_pandas_extensions.py
@@ -322,9 +322,7 @@ def test_pandas_table_reader(tmp_path: pathlib.Path) -> None:
]
-@pytest.mark.skipif(
- sys.version_info >= (3, 14), reason="pyreadstat not available on Python 3.14"
-)
+@pytest.mark.skipif(sys.version_info >= (3, 14), reason="pyreadstat not available on Python 3.14")
def test_pandas_spss_reader(tmp_path: pathlib.Path) -> None:
import pyreadstat