Skip to content

Commit 967f611

Browse files
ktlint format
1 parent 7843040 commit 967f611

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/render/FormatHeaderSamples.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import org.jetbrains.kotlinx.dataframe.api.with
99
import org.jetbrains.kotlinx.dataframe.samples.DataFrameSampleHelper
1010
import org.junit.Test
1111

12-
class FormatHeaderSamples: DataFrameSampleHelper("format", "api") {
12+
class FormatHeaderSamples : DataFrameSampleHelper("format", "api") {
1313
val df = peopleDf.cast<Person>()
1414

1515
@DataSchema
@@ -22,14 +22,14 @@ class FormatHeaderSamples: DataFrameSampleHelper("format", "api") {
2222
interface Person {
2323
val age: Int
2424
val city: String?
25-
val name: DataRow<Name> // TODO Requires https://code.jetbrains.team/p/kt/repositories/kotlin/reviews/23694 to be merged
25+
val name: DataRow<Name>
2626
val weight: Int?
2727
val isHappy: Boolean
2828
}
2929

3030
@Test
3131
fun formatHeader() {
32-
//SampleStart
32+
// SampleStart
3333
df
3434
// Format all column headers with bold
3535
.formatHeader().with { bold }
@@ -39,7 +39,7 @@ class FormatHeaderSamples: DataFrameSampleHelper("format", "api") {
3939
.formatHeader { name.lastName }.with { textColor(blue) }
4040
// Format all numeric column headers with underlines
4141
.formatHeader { colsOf<Number?>() }.with { underline }
42-
//SampleEnd
42+
// SampleEnd
4343
.saveDfHtmlSample()
4444
}
4545
}

0 commit comments

Comments
 (0)