-
Couldn't load subscription status.
- Fork 1k
fix(deps): update spotless packages to v7 (major) #13004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -76,7 +76,9 @@ spotless { | |
| // also very hard to find out where this happens | ||
| "ktlint_standard_wrapping" to "disabled", | ||
| // we use variable names like v1_10Deps | ||
| "ktlint_standard_property-naming" to "disabled" | ||
| "ktlint_standard_property-naming" to "disabled", | ||
| // prevent moving comment to next line in latestDepTestLibrary("xxx") { // see xxx module | ||
| "ktlint_standard_function-literal" to "disabled" | ||
| ) | ||
| ) | ||
| } | ||
|
|
@@ -97,7 +99,7 @@ if (project == rootProject) { | |
| "**/*.dockerfile", | ||
| "**/gradle.properties" | ||
| ) | ||
| indentWithSpaces() | ||
| leadingTabsToSpaces() | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| trimTrailingWhitespace() | ||
| endWithNewline() | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,8 +10,6 @@ import io.opentelemetry.instrumentation.api.instrumenter.Instrumenter | |
| import kotlinx.coroutines.flow.Flow | ||
| import kotlinx.coroutines.flow.onCompletion | ||
|
|
||
| fun <REQUEST, RESPONSE> onComplete(flow: Flow<*>, instrumenter: Instrumenter<REQUEST, RESPONSE>, context: Context, request: REQUEST & Any): Flow<*> { | ||
| return flow.onCompletion { cause: Throwable? -> | ||
| instrumenter.end(context, request, null, cause) | ||
| } | ||
| fun <REQUEST, RESPONSE> onComplete(flow: Flow<*>, instrumenter: Instrumenter<REQUEST, RESPONSE>, context: Context, request: REQUEST & Any): Flow<*> = flow.onCompletion { cause: Throwable? -> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It doesn't really seem to honor the max line length here. I guess if there is interest we could track down which rule removes the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems ok, it doesn't bother me |
||
| instrumenter.end(context, request, null, cause) | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without disabling this rule we'd end up with
that breaks the script that checks the
latestDepTestLibrarydependencies