Adding Codacy

This commit is contained in:
Julien Lengrand-Lambert
2021-04-11 22:18:45 +02:00
parent e43c574b4f
commit bbf1a19c16
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
# My good first issues
[![codecov](https://codecov.io/gh/jlengrand/my-good-first-issues/branch/main/graph/badge.svg?token=26I4QUHLP6)](https://codecov.io/gh/jlengrand/my-good-first-issues)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/75a89e84d45048eba84c0d1198d95442)](https://www.codacy.com/gh/jlengrand/my-good-first-issues/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jlengrand/my-good-first-issues&utm_campaign=Badge_Grade)
An easier way to find how to contribute to the ecosystem you use already!

View File

@@ -72,8 +72,6 @@ class CliFirstGoodIssues : Callable<Int> {
println(CommandLine.Help.Ansi.AUTO.string(""))
println(CommandLine.Help.Ansi.AUTO.string("@|bold,green ${githubIssue.title}|@"))
println(CommandLine.Help.Ansi.AUTO.string("@|blue ${githubIssue.htmlUrl} - ${githubIssue.createdAt} |@"))
// println(CommandLine.Help.Ansi.AUTO.string(""))
// println(CommandLine.Help.Ansi.AUTO.string("@|green x${githubIssue.body}|@"))
println(CommandLine.Help.Ansi.AUTO.string("@|yellow ${githubIssue.labels.joinToString(",") { it.name }}|@"))
}
@@ -110,7 +108,7 @@ class PicoCliLogger : AppLogger {
}
override fun logDependencies(dependencies: List<Dependency>) {
println(CommandLine.Help.Ansi.AUTO.string("@|green Found ${dependencies.size} dependencies in the project |@"))
println(CommandLine.Help.Ansi.AUTO.string("@|green Found ${dependencies.size} dependencies in the project. Investigating... |@"))
}
override fun logIssues(goodFirstIssues: List<Pair<String, GitHubServiceResult>>) {