Skip to content

Bump codacy-plugins-api to 12.0.6 - #32

Open
lolgab wants to merge 1 commit into
masterfrom
bump-codacy-plugins-api-12.0.6
Open

lolgab wants to merge 1 commit into
masterfrom
bump-codacy-plugins-api-12.0.6

Conversation

@lolgab

@lolgab lolgab commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump codacy-plugins-api 7.2.1 → 12.0.6, per codacy/codacy-plugins-api#108 (removed lineComplexities, nrMethods, nrClasses, cloc from FileMetrics, and the LineComplexity case class).
  • Update FileMetrics construction/format in package.scala and MetricsResultsPrinterSpecs to the new 3-field signature (filename, complexity, loc).
  • Bump scalaVersion 2.13.11 → 2.13.12, the minimum required by codacy-plugins-api 12.0.6 (scala-library binary compat, SIP-51).
  • Drop the explicit sbt-scapegoat 1.2.1 plugin pin from project/plugins.sbt — its pinned scapegoat 1.4.17 isn't published for 2.13.12, it's not invoked anywhere in CI, and codacy-sbt-plugin already covers it (matches how codacy-plugins-api itself is set up).

Test plan

  • sbt test — 16 examples, 0 failures
  • sbt scalafmtSbtCheck scalafmtCheckAll — passes

Follows codacy/codacy-plugins-api#108, which dropped unused
FileMetrics fields (lineComplexities, nrMethods, nrClasses, cloc)
and the LineComplexity case class. Update FileMetrics usages
accordingly and bump scalaVersion to 2.13.12, the minimum required
by the new codacy-plugins-api. Drop the stale explicit sbt-scapegoat
plugin pin, unpublished for 2.13.12 and unused in CI; codacy-sbt-plugin
already covers it.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@lolgab
lolgab requested review from a team and DMarinhoCodacy September 2, 2026 18:17
@lolgab
lolgab enabled auto-merge September 2, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant