Skip to content

Commit 08e5669

Browse files
committed
Fix all file according to the pre-commit config
1 parent 6c314ea commit 08e5669

File tree

44 files changed

+101
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+101
-103
lines changed

.github/workflows/javainterfacegen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
with:
3939
name: javainterfacegen-${{ matrix.os_name }}-${{ env.ARCH }}
4040
path: |
41-
javainterfacegen/target/javainterfacegen
41+
javainterfacegen/target/javainterfacegen

.github/workflows/tests-release-jbang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
mvn --batch-mode exec:java@integration-tests \
2626
-Dproject.polyglot.version=24.1.2 \
2727
-Dintegration.tests.args="test_jbang_integration.py \
28-
--jbang-graalpy-version=24.2.1"
28+
--jbang-graalpy-version=24.2.1"

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ verbosity level.
9191
## Changing version
9292

9393
- property `revision` in top level `pom.xml`
94-
- property `graalpy.version` in `graalpy-archetype-polyglot-app/src/main/resources/archetype-resources/pom.xml` (TODO: propagate from revision)
94+
- property `graalpy.version` in `graalpy-archetype-polyglot-app/src/main/resources/archetype-resources/pom.xml` (TODO: propagate from revision)

graalpy-archetype-polyglot-app/src/main/resources/META-INF/maven/archetype-metadata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
</includes>
2525
</fileSet>
2626
</fileSets>
27-
</archetype-descriptor>
27+
</archetype-descriptor>

graalpy-archetype-polyglot-app/src/main/resources/archetype-resources/src/main/java/GraalPy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static void main(String[] args) {
6161
} catch (IOException e) {
6262
throw new RuntimeException(e);
6363
}
64-
64+
6565
context.eval(source);
6666

6767
// retrieve the python PyHello class
@@ -70,7 +70,7 @@ public static void main(String[] args) {
7070
// and cast it to the Hello interface which matches PyHello
7171
Hello hello = pyHello.as(Hello.class);
7272
hello.hello("java");
73-
73+
7474
} catch (PolyglotException e) {
7575
if (e.isExit()) {
7676
System.exit(e.getExitStatus());
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# the jdk used to run the gradle demon has to be <= 22
22
# this will be replaced by the integration tests:
33
# pass -Dgradle.java.home to Maven or --gradle-java-home to the Python test driver
4-
org.gradle.java.home={GRADLE_JAVA_HOME}
4+
org.gradle.java.home={GRADLE_JAVA_HOME}

integration-tests/gradle/gradle-test-project/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ distributionUrl=https://services.gradle.org/distributions/gradle-8.9-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME
7-
zipStorePath=wrapper/dists
7+
zipStorePath=wrapper/dists

integration-tests/gradle/gradle-test-project/src/main/java/org/example/GraalPy.j

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ public class GraalPy {
7777
}
7878
}
7979
}
80-
}
80+
}

integration-tests/gradle/gradle-test-project/src/main/resources/org.graalvm.python.vfs/src/hello.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ def hello(self, txt):
4545
print(colored_text)
4646

4747
# We export the PyHello class to Java as our explicit interface with the Java side
48-
polyglot.export_value("PyHello", PyHello)
48+
polyglot.export_value("PyHello", PyHello)

integration-tests/gradle/scripts/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ application {
1717
val r = tasks.run.get()
1818
r.enableAssertions = true
1919
r.outputs.upToDateWhen {false}
20-

0 commit comments

Comments
 (0)