Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore]: enable bool-compare rule from testifylint #5829

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

mmorel-35
Copy link
Contributor

Description

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

This PR enables bool-compare rule from testifylint

It's linter provided by golangci-lint.

Here all available rules are activated except those who require to be fixed. This PR only fixes bool-compare so the quantity of changes stays reasonnable for reviewers.

Copy link
Member

@dmathieu dmathieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nice, thank you!

Makefile Outdated Show resolved Hide resolved
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.5%. Comparing base (a200e0a) to head (f38eda8).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #5829   +/-   ##
=====================================
  Coverage   84.5%   84.5%           
=====================================
  Files        272     272           
  Lines      22734   22734           
=====================================
  Hits       19228   19228           
  Misses      3163    3163           
  Partials     343     343           

@mmorel-35 mmorel-35 force-pushed the testifylint/bool-compare branch from 3004d07 to 22344a8 Compare September 19, 2024 09:43
@mmorel-35 mmorel-35 requested a review from dmathieu September 19, 2024 09:48
@dmathieu dmathieu added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 19, 2024
@dmathieu dmathieu merged commit aef9e4f into open-telemetry:main Sep 20, 2024
32 checks passed
@mmorel-35 mmorel-35 deleted the testifylint/bool-compare branch September 20, 2024 14:00
@MrAlias MrAlias added this to the v1.31.0 milestone Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants