open-telemetry / opentelemetry-go

OpenTelemetry Go API and SDK
https://opentelemetry.io/docs/languages/go
Apache License 2.0
5.35k stars 1.09k forks source link

[chore]: enable require-error rule from testifylint #5970

Closed mmorel-35 closed 2 weeks ago

mmorel-35 commented 2 weeks ago

Description

Testifylint is a linter that provides best practices with the use of testify.

This PR enables require-error rule from testifylint

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.6%. Comparing base (61e9b35) to head (38468c6). Report is 2 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/open-telemetry/opentelemetry-go/pull/5970/graphs/tree.svg?width=650&height=150&src=pr&token=8efTmh4kvf&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry)](https://app.codecov.io/gh/open-telemetry/opentelemetry-go/pull/5970?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=open-telemetry) ```diff @@ Coverage Diff @@ ## main #5970 +/- ## ===================================== Coverage 84.6% 84.6% ===================================== Files 272 272 Lines 22897 22897 ===================================== Hits 19391 19391 Misses 3162 3162 Partials 344 344 ```
mmorel-35 commented 2 weeks ago

Ok, I close this for now