This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 5120eadb4 [DOCS] pre-commit autoupdate; fix Python lint error (#1592)
5120eadb4 is described below

commit 5120eadb4b6b72c3a857c911c308d71f144f8594
Author: John Bampton <[email protected]>
AuthorDate: Thu Sep 19 17:20:10 2024 +1000

    [DOCS] pre-commit autoupdate; fix Python lint error (#1592)
---
 .pre-commit-config.yaml                                      | 2 +-
 docs/usecases/contrib/PostgresqlConnectionApacheSedona.ipynb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b6ff6c519..1f3c8cac0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,7 +19,7 @@ repos:
         args: [--ignore-words=.github/linters/codespell.txt]
         exclude: 
^docs/image|^spark/common/src/test/resources|^docs/usecases|^tools/maven/scalafmt
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.4.10
+    rev: v0.6.5
     hooks:
       - id: ruff
         args: [--config=.github/linters/ruff.toml, --fix]
diff --git a/docs/usecases/contrib/PostgresqlConnectionApacheSedona.ipynb 
b/docs/usecases/contrib/PostgresqlConnectionApacheSedona.ipynb
index 4cf9f41e4..f188bee00 100644
--- a/docs/usecases/contrib/PostgresqlConnectionApacheSedona.ipynb
+++ b/docs/usecases/contrib/PostgresqlConnectionApacheSedona.ipynb
@@ -215,11 +215,11 @@
    ],
    "source": [
     "%%timeit\n",
+    "from pandas import DataFrame\n",
     "cursor = connection.cursor()\n",
     "cursor.execute(\"SELECT * FROM clima.t_indices_prec_cpc t Where r100mm > 
2000\")\n",
     "names = [ x[0] for x in cursor.description]\n",
     "result = cursor.fetchall()\n",
-    "from pandas import DataFrame\n",
     "df = DataFrame(result, columns=names)"
    ]
   },

Reply via email to