Skip to content

Commit

Permalink
Update scalafmt-core to 3.8.2 (#379)
Browse files Browse the repository at this point in the history
* Update scalafmt-core to 3.8.2

* Reformat with scalafmt 3.8.2

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.2' to .git-blame-ignore-revs
  • Loading branch information
scala-steward authored Jun 18, 2024
1 parent cfbaff8 commit 590cce6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Scala Steward: Reformat with scalafmt 3.7.0
7939505c0eb8b06e25c372c5bbe0da3272c65b81

# Scala Steward: Reformat with scalafmt 3.8.2
f5a756f05939939b4a30a4109f1a3b2cf472d85a
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Test upgrades: $ scripts/scalafmt --test 2> diff.txt
version = 3.8.1
version = 3.8.2
runner.dialect = scala213source3
preset = default

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ object BadMap {
773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877,
881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983,
991, 997, 1009, /* now we start skipping some, this is arbitrary */
2053, 3079, 4057, 7103, 10949, 16069, 32609, 65867, 104729)
2053, 3079, 4057, 7103, 10949, 16069, 32609, 65867, 104729
)

private def nextPrime(i: Int): Int =
primes.find(p => p > i).getOrElse(primes(primes.length - 1))
Expand Down

0 comments on commit 590cce6

Please sign in to comment.