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 ce62a85ba [SEDONA-542] Add `pre-commit` hook 
`check-executables-have-shebangs` (#1362)
ce62a85ba is described below

commit ce62a85ba9491a16642be45b8a2c1acbcc341f7f
Author: John Bampton <[email protected]>
AuthorDate: Thu Apr 25 13:38:03 2024 +1000

    [SEDONA-542] Add `pre-commit` hook `check-executables-have-shebangs` (#1362)
    
    
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-executables-have-shebangs
---
 .pre-commit-config.yaml                                                 | 2 +-
 .../src/main/java/org/apache/sedona/common/enums/FileDataSplitter.java  | 0
 common/src/main/java/org/apache/sedona/common/enums/GeometryType.java   | 0
 .../main/java/org/apache/sedona/common/geometrySerde/GeometrySerde.java | 0
 .../src/test/resources/nyc-area-landmark-shapefile/nyu_2451_34514.cst   | 0
 .../src/test/resources/nyc-area-landmark-shapefile/nyu_2451_34514.prj   | 0
 .../src/test/resources/nyc-area-landmark-shapefile/wfsrequest.txt       | 0
 python/build_wheel.sh                                                   | 2 ++
 spark/common/src/main/java/org/apache/sedona/core/enums/GridType.java   | 0
 spark/common/src/main/java/org/apache/sedona/core/enums/IndexType.java  | 0
 spark/common/src/main/java/org/apache/sedona/viz/utils/ImageType.java   | 0
 11 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3f2d6dd59..a05147331 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,7 +25,7 @@ repos:
       - id: check-builtin-literals
       - id: check-case-conflict
       # - id: check-docstring-first
-      # - id: check-executables-have-shebangs
+      - id: check-executables-have-shebangs
       # - id: check-json
       - id: check-merge-conflict
       - id: check-shebang-scripts-are-executable
diff --git 
a/common/src/main/java/org/apache/sedona/common/enums/FileDataSplitter.java 
b/common/src/main/java/org/apache/sedona/common/enums/FileDataSplitter.java
old mode 100755
new mode 100644
diff --git 
a/common/src/main/java/org/apache/sedona/common/enums/GeometryType.java 
b/common/src/main/java/org/apache/sedona/common/enums/GeometryType.java
old mode 100755
new mode 100644
diff --git 
a/common/src/main/java/org/apache/sedona/common/geometrySerde/GeometrySerde.java
 
b/common/src/main/java/org/apache/sedona/common/geometrySerde/GeometrySerde.java
old mode 100755
new mode 100644
diff --git 
a/examples/spark-sql/src/test/resources/nyc-area-landmark-shapefile/nyu_2451_34514.cst
 
b/examples/spark-sql/src/test/resources/nyc-area-landmark-shapefile/nyu_2451_34514.cst
old mode 100755
new mode 100644
diff --git 
a/examples/spark-sql/src/test/resources/nyc-area-landmark-shapefile/nyu_2451_34514.prj
 
b/examples/spark-sql/src/test/resources/nyc-area-landmark-shapefile/nyu_2451_34514.prj
old mode 100755
new mode 100644
diff --git 
a/examples/spark-sql/src/test/resources/nyc-area-landmark-shapefile/wfsrequest.txt
 
b/examples/spark-sql/src/test/resources/nyc-area-landmark-shapefile/wfsrequest.txt
old mode 100755
new mode 100644
diff --git a/python/build_wheel.sh b/python/build_wheel.sh
index edb2cd7a0..e5658255f 100755
--- a/python/build_wheel.sh
+++ b/python/build_wheel.sh
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
 # distributed with this work for additional information
diff --git 
a/spark/common/src/main/java/org/apache/sedona/core/enums/GridType.java 
b/spark/common/src/main/java/org/apache/sedona/core/enums/GridType.java
old mode 100755
new mode 100644
diff --git 
a/spark/common/src/main/java/org/apache/sedona/core/enums/IndexType.java 
b/spark/common/src/main/java/org/apache/sedona/core/enums/IndexType.java
old mode 100755
new mode 100644
diff --git 
a/spark/common/src/main/java/org/apache/sedona/viz/utils/ImageType.java 
b/spark/common/src/main/java/org/apache/sedona/viz/utils/ImageType.java
old mode 100755
new mode 100644

Reply via email to