diff --git a/Apply spotless.launch b/Apply spotless.launch
new file mode 100644
index 00000000..374c84b1
--- /dev/null
+++ b/Apply spotless.launch
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/com.ibm.wala.cast.python.ml/pom.xml b/com.ibm.wala.cast.python.ml/pom.xml
index b3fd1632..a5c6bc7e 100644
--- a/com.ibm.wala.cast.python.ml/pom.xml
+++ b/com.ibm.wala.cast.python.ml/pom.xml
@@ -66,7 +66,7 @@
org.apache.maven.plugins
maven-shade-plugin
- 3.4.1
+ 3.6.0
diff --git a/com.ibm.wala.cast.python.ml/run.sh b/com.ibm.wala.cast.python.ml/run.sh
index bcd9476c..f42e8e77 100755
--- a/com.ibm.wala.cast.python.ml/run.sh
+++ b/com.ibm.wala.cast.python.ml/run.sh
@@ -3,4 +3,4 @@
ME=`realpath $0`
DIR=`dirname $ME`
-cat -u | tee -a /tmp/lsp.in.log | $JAVA_HOME/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=127.0.0.1:6660,server=y,suspend=n -jar $DIR/target/com.ibm.wala.cast.python.ml-0.6.0-SNAPSHOT.jar --mode stdio | tee -a /tmp/lsp.out.log
+cat -u | tee -a /tmp/lsp.in.log | $JAVA_HOME/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=127.0.0.1:6660,server=y,suspend=n -jar $DIR/target/com.ibm.wala.cast.python.ml-0.38.0-SNAPSHOT.jar --mode stdio | tee -a /tmp/lsp.out.log
diff --git a/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/util/Util.java b/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/util/Util.java
index 233fc038..4af60a1b 100644
--- a/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/util/Util.java
+++ b/com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/util/Util.java
@@ -107,6 +107,7 @@ public static String removeFileProtocolFromPath(String path) {
* presented in the CAst.
*/
public static Collection getNames(Collection annotations) {
+ if (annotations == null) return emptyList();
return annotations.stream().map(Util::getName).flatMap(Optional::stream).toList();
}
diff --git a/requirements.txt b/requirements.txt
index 6876f3ca..ad2b44c0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +1 @@
-black==24.8.0
+black==24.10.0