Skip to content

doc: fix codefactor report - #146

Merged
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:doc/fix-codefactor
Aug 14, 2026
Merged

doc: fix codefactor report#146
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:doc/fix-codefactor

Conversation

@fredbi

@fredbi fredbi commented Aug 14, 2026

Copy link
Copy Markdown
Member

codefactor.io uses revive directly (not golangci-lint) so we need to add a specific configuration to remain consistent across rules.

In particular the tolerated complexity is raised from the default 10, which is way too low and croaks a lot of false alarms.

Change type

Please select: 🆕 New feature or enhancement|🔧 Bug fix'|📃 Documentation update

Short description

Fixes

Full description

Checklist

  • I have signed all my commits with my name and email (see DCO. This does not require a PGP-signed commit
  • I have rebased and squashed my work, so only one commit remains
  • I have added tests to cover my changes.
  • I have properly enriched go doc comments in code.
  • I have properly documented any breaking change.

codefactor.io uses revive directly (not golangci-lint) so we need to add
a specific configuration to remain consistent across rules.

In particular the tolerated complexity is raised from the default 10,
which is way too low and croaks a lot of false alarms.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.48%. Comparing base (5e72bee) to head (101c48d).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #146   +/-   ##
=======================================
  Coverage   91.48%   91.48%           
=======================================
  Files         103      103           
  Lines       12875    12875           
=======================================
  Hits        11779    11779           
  Misses        849      849           
  Partials      247      247           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@fredbi
fredbi merged commit 8a121e7 into go-openapi:master Aug 14, 2026
22 checks passed
@fredbi
fredbi deleted the doc/fix-codefactor branch August 14, 2026 07:09
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