Apply more formatting rules to our code (#3615)

* Update formatting configuration

* Apply autocorrect to the project

* Format using ktlint 0.41 --experimental

* Minor manual improvements
This commit is contained in:
Brais Gabín
2021-03-28 19:00:03 +02:00
committed by GitHub
parent 84009f24af
commit 92b6a01903
285 changed files with 3103 additions and 1739 deletions

View File

@@ -22,7 +22,6 @@ import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.options.default
import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.options.required
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths

View File

@@ -32,7 +32,6 @@ class GithubMilestoneReport : CliktCommand() {
private val milestone: Int? by option("-m", help = "Milestone number. Default: latest milestone.").int()
override fun run() {
// connect to GitHub
val github: GitHub = GitHub.connectAnonymously()
val ghRepository: GHRepository = github.getUser(user).getRepository(project)