Skip to content

Commit 1a25476

Browse files
committed
Ruff fix
1 parent 40d4048 commit 1a25476

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/hopsworks/connection.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ def _check_compatibility(self):
211211
warnings.warn(
212212
"The installed hopsworks client version {0} may not be compatible with the connected Hopsworks backend version {1}. \nTo ensure compatibility please install the latest bug fix release matching the minor version of your backend ({2}) by running 'pip install hopsworks=={2}.*'".format(
213213
client_version, backend_version, major_minor_backend
214-
)
214+
),
215+
stacklevel=1,
215216
)
216217
sys.stderr.flush()
217218

0 commit comments

Comments
 (0)