From 77821c3286716650de1a6e649d5f36e1fa425554 Mon Sep 17 00:00:00 2001 From: RenkuBot <53332360+RenkuBot@users.noreply.github.com> Date: Tue, 20 Feb 2024 09:30:45 +0100 Subject: [PATCH] chore: Update scalafmt-core from 3.7.17 to 3.8.0 (#22) * chore: Update scalafmt-core from 3.7.17 to 3.8.0 * Reformat with scalafmt 3.8.0 Executed command: scalafmt --non-interactive * Add 'Reformat with scalafmt 3.8.0' to .git-blame-ignore-revs --------- Co-authored-by: RenkuBot --- .git-blame-ignore-revs | 2 ++ .scalafmt.conf | 2 +- .../scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala | 2 +- .../scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala | 2 +- .../scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala | 2 +- .../scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala | 2 +- .../scala/io/renku/avro/codec/decoders/RecordDecoders.scala | 2 +- .../scala/io/renku/avro/codec/decoders/StringDecoders.scala | 2 +- .../scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala | 2 +- .../scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala | 2 +- .../scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala | 2 +- .../scala/io/renku/avro/codec/encoders/StringEncoders.scala | 2 +- 12 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..e85d4513 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Scala Steward: Reformat with scalafmt 3.8.0 +1033eb7071d821a2557f453190a041659c15fdf3 diff --git a/.scalafmt.conf b/.scalafmt.conf index 9f554ce7..ed7f4723 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.7.17" +version = "3.8.0" preset = default align.preset = some diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala index 72ac6476..88703163 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/BigDecimalDecoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.decoders -import io.renku.avro.codec.{AvroDecoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroDecoder} import org.apache.avro.LogicalTypes.Decimal import org.apache.avro.generic.GenericFixed import org.apache.avro.{Conversions, Schema} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala index 47b779d5..320f4e33 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/ByteArrayDecoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.decoders -import io.renku.avro.codec.{AvroDecoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroDecoder} import org.apache.avro.generic.GenericFixed import scodec.bits.{BitVector, ByteVector} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala index ce2bcdaf..83959d12 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/DateTimeDecoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.decoders -import io.renku.avro.codec.{AvroDecoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroDecoder} import org.apache.avro.LogicalTypes.{TimestampMicros, TimestampMillis} import org.apache.avro.Schema diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala index 724230bc..da21abc9 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/PrimitiveDecoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.decoders -import io.renku.avro.codec.{AvroDecoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroDecoder} trait PrimitiveDecoders { diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/RecordDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/RecordDecoders.scala index 63553860..3c1fea93 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/RecordDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/RecordDecoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.decoders -import io.renku.avro.codec.{AvroDecoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroDecoder} import org.apache.avro.Schema import org.apache.avro.generic.IndexedRecord diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/StringDecoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/StringDecoders.scala index 9b6b1a79..3e2935ce 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/StringDecoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/decoders/StringDecoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.decoders -import io.renku.avro.codec.{AvroDecoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroDecoder} import org.apache.avro.generic.GenericFixed import org.apache.avro.util.Utf8 diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala index a5d88d36..fa39b395 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/BigDecimalEncoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.encoders -import io.renku.avro.codec.{AvroEncoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroEncoder} import org.apache.avro.LogicalTypes.Decimal import org.apache.avro.{Conversions, Schema} diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala index 167b2c4c..635466ba 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/ByteArrayEncoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.encoders -import io.renku.avro.codec.{AvroEncoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroEncoder} import org.apache.avro.Schema import org.apache.avro.generic.GenericData import scodec.bits.ByteVector diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala index c1ac3241..f37e9e4d 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/DateTimeEncoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.encoders -import io.renku.avro.codec.{AvroEncoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroEncoder} import org.apache.avro.LogicalTypes.{TimestampMicros, TimestampMillis} import org.apache.avro.Schema diff --git a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/StringEncoders.scala b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/StringEncoders.scala index 9f649724..12fe92cb 100644 --- a/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/StringEncoders.scala +++ b/modules/avro-codec/src/main/scala/io/renku/avro/codec/encoders/StringEncoders.scala @@ -18,7 +18,7 @@ package io.renku.avro.codec.encoders -import io.renku.avro.codec.{AvroEncoder, AvroCodecException} +import io.renku.avro.codec.{AvroCodecException, AvroEncoder} import org.apache.avro.Schema import org.apache.avro.generic.GenericData import org.apache.avro.util.Utf8