diff --git a/detekt-config.yml b/detekt-config.yml index 85a7f70d..08a77cd3 100644 --- a/detekt-config.yml +++ b/detekt-config.yml @@ -1,6 +1,3 @@ -build: - maxIssues: 2 - comments: active: true excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt,**/examples/**" diff --git a/generator/stdlib/src/commonMain/kotlin/com/github/jcornaz/kwik/generator/stdlib/Characters.kt b/generator/stdlib/src/commonMain/kotlin/com/github/jcornaz/kwik/generator/stdlib/Characters.kt index 584b10b8..f9572ee1 100644 --- a/generator/stdlib/src/commonMain/kotlin/com/github/jcornaz/kwik/generator/stdlib/Characters.kt +++ b/generator/stdlib/src/commonMain/kotlin/com/github/jcornaz/kwik/generator/stdlib/Characters.kt @@ -4,6 +4,12 @@ import com.github.jcornaz.kwik.generator.api.Generator import com.github.jcornaz.kwik.generator.api.withSamples import kotlin.random.Random +/** + * Returns a generator of [Char] + * + * @param charset Set of character to be used + * @param exclude Characters to exclude + */ fun Generator.Companion.characters( charset: Set = CharSets.printable, exclude: Set = emptySet()