Skip to content

Fix linter errors#3595

Merged
roman-khimov merged 9 commits intomasterfrom
fix-linter-errors
Sep 24, 2025
Merged

Fix linter errors#3595
roman-khimov merged 9 commits intomasterfrom
fix-linter-errors

Conversation

@End-rey
Copy link
Contributor

@End-rey End-rey commented Sep 23, 2025

According to nspcc-dev/.github#42.

@codecov
Copy link

codecov bot commented Sep 23, 2025

Codecov Report

❌ Patch coverage is 33.84615% with 86 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.62%. Comparing base (96248a4) to head (8a05444).
⚠️ Report is 19 commits behind head on master.

Files with missing lines Patch % Lines
cmd/neofs-node/config.go 0.00% 10 Missing ⚠️
pkg/services/object/delete/exec.go 0.00% 10 Missing ⚠️
cmd/neofs-node/object.go 0.00% 8 Missing ⚠️
cmd/neofs-node/meta.go 0.00% 6 Missing ⚠️
pkg/services/object/get/exec.go 77.27% 3 Missing and 2 partials ⚠️
cmd/neofs-adm/internal/modules/fschain/config.go 0.00% 4 Missing ⚠️
.../neofs-adm/internal/modules/fschain/dump_hashes.go 0.00% 3 Missing ⚠️
cmd/neofs-cli/modules/object/lock.go 0.00% 3 Missing ⚠️
cmd/neofs-node/main.go 0.00% 3 Missing ⚠️
cmd/neofs-node/morph.go 0.00% 3 Missing ⚠️
... and 20 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3595      +/-   ##
==========================================
- Coverage   26.64%   26.62%   -0.02%     
==========================================
  Files         655      655              
  Lines       49770    49687      -83     
==========================================
- Hits        13263    13231      -32     
+ Misses      35463    35415      -48     
+ Partials     1044     1041       -3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Could apply De Morgan's law.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Use the if statement instead of switch.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Could use tagged switch on limit.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Error strings should not end with punctuation or newlines.
Error strings should not be capitalized.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Could remove embedded field from selector.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Use fmt.Fprintf(...) instead of Write([]byte(fmt.Sprintf(...))).

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Signed-off-by: Andrey Butusov <andrey@nspcc.io>
@roman-khimov roman-khimov merged commit 2dbdeea into master Sep 24, 2025
17 of 22 checks passed
@roman-khimov roman-khimov deleted the fix-linter-errors branch September 24, 2025 16: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.

2 participants