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 fe9397dc7 [SEDONA-537] Add pre-commit hook `requirements-txt-fixer` 
(#1349)
fe9397dc7 is described below

commit fe9397dc7088dcc774c91f18b3c6458e55096c0c
Author: John Bampton <[email protected]>
AuthorDate: Mon Apr 22 10:03:28 2024 +1000

    [SEDONA-537] Add pre-commit hook `requirements-txt-fixer` (#1349)
    
    
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#requirements-txt-fixer
---
 .pre-commit-config.yaml                         |  2 ++
 docker/sedona-spark-jupyterlab/requirements.txt | 16 ++++++++--------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index fa99a5126..f97af3cba 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -42,6 +42,8 @@ repos:
       - id: fix-byte-order-marker
       - id: mixed-line-ending
         exclude: \.csv$
+      - id: requirements-txt-fixer
+        files: ^docker/sedona-spark-jupyterlab/requirements\.txt$
       - id: trailing-whitespace
         args: [--markdown-linebreak-ext=md]
         exclude: ^docs-overrides/main\.html$|\.Rd$
diff --git a/docker/sedona-spark-jupyterlab/requirements.txt 
b/docker/sedona-spark-jupyterlab/requirements.txt
index 8d8809b63..d24dc7dbe 100644
--- a/docker/sedona-spark-jupyterlab/requirements.txt
+++ b/docker/sedona-spark-jupyterlab/requirements.txt
@@ -1,12 +1,12 @@
-pandas==1.3.5
-fiona==1.8.22
-geopandas==0.11.1
-keplergl==0.3.2
-pydeck==0.8.0
 attrs
-matplotlib
 descartes
-ipywidgets
-jupyterlab-widgets==1.1.7
+fiona==1.8.22
+geopandas==0.11.1
 ipykernel
+ipywidgets
 jupyterlab==3.6.4
+jupyterlab-widgets==1.1.7
+keplergl==0.3.2
+matplotlib
+pandas==1.3.5
+pydeck==0.8.0

Reply via email to