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: remove unused protobuf stuff #248

Merged
merged 1 commit into from
Apr 22, 2024
Merged

chore: remove unused protobuf stuff #248

merged 1 commit into from
Apr 22, 2024

Conversation

ajwootto
Copy link
Contributor

@ajwootto ajwootto commented Apr 22, 2024

  • remove protobuf definitions that are unused
  • remove unused methods
  • rename tests and remove redundant test case
  • clean up dependencies

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @ajwootto - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟡 Testing: 1 issue found
  • 🟢 Complexity: all looks good
  • 🟢 Docstrings: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

variableValue, err := c.VariableValue(user, "test", true)
fatalErr(t, err)
fmt.Println(variableValue)
}
Copy link

Choose a reason for hiding this comment

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

suggestion (code_refinement): Renaming of test function should reflect the updated functionality.

Ensure the new test name accurately represents the test's scope and purpose, especially after significant codebase changes.

Suggested change
}
func TestClient_VariableLocalBehavior(t *testing.T) {

variableValue, err := c.VariableValue(user, "test", true)
fatalErr(t, err)
fmt.Println(variableValue)
}
Copy link

Choose a reason for hiding this comment

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

suggestion (testing): Test function rename needs verification for coverage.

The renaming of TestClient_VariableLocalProtobuf to TestClient_VariableLocal suggests a shift in focus possibly due to the removal of protobuf dependencies. Please ensure that the new test name accurately reflects the test's purpose and that all necessary aspects are still being tested.

@ajwootto ajwootto changed the title remove unused protobuf stuff chore: remove unused protobuf stuff Apr 22, 2024
@ajwootto ajwootto merged commit 9dee78b into main Apr 22, 2024
12 of 14 checks passed
@ajwootto ajwootto deleted the remove-protobuf branch April 22, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants