World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] Fix Python formatting in client and matrix script (#11444)
Jerry Shaoaca4b45fcc3f
diff --git a/clients/client-python/gravitino/client/gravitino_metalake.py b/clients/client-python/gravitino/client/gravitino_metalake.pyindex 75394a1208..beb4baf96a 100644--- a/clients/client-python/gravitino/client/gravitino_metalake.py+++ b/clients/client-python/gravitino/client/gravitino_metalake.py@@ -14,7 +14,6 @@# KIND, either express or implied. See the License for the# specific language governing permissions and limitations# under the License.-# pylint: disable=too-many-linesimport loggingfrom typing import Dict, List, Optionaldiff --git a/clients/client-python/scripts/run_lance_ray_matrix.py b/clients/client-python/scripts/run_lance_ray_matrix.pyindex 3a0fc94842..f2daecb59e 100644--- a/clients/client-python/scripts/run_lance_ray_matrix.py+++ b/clients/client-python/scripts/run_lance_ray_matrix.py@@ -146,7 +146,9 @@ def ensure_venv(python: str, venv_dir: Path) -> Path:return venv_python-def _deps_sentinel(venv_dir: Path, version: str, ray_spec: str, lance_namespace_spec: str) -> Path:+def _deps_sentinel(+ venv_dir: Path, version: str, ray_spec: str, lance_namespace_spec: str+) -> Path:"""Return the path to the sentinel file that marks a fully-installed venv.The sentinel encodes all dep specs so any change in pinned versions forces@@ -171,7 +173,9 @@ def install_deps("""sentinel = _deps_sentinel(venv_dir, version, ray_spec, lance_namespace_spec)if sentinel.exists():- print(f"[matrix] venv for lance-ray=={version} already populated, skipping pip install")+ print(+ f"[matrix] venv for lance-ray=={version} already populated, skipping pip install"+ )returnrc = run(